import{c as a,a as h,b as i,d as C,e as k,t as c,F as x,r as w,f as b,o,n as m,g as E,h as v,w as y,v as T,i as A,j as B,k as V,l as P,m as R,p as q,q as L,s as X,u as G,x as Q,y as ee,z as te,A as se,B as O}from"./vue.esm-bundler-DvMSP5T_.js";import{V as ie,N as oe,S as le,a as re,b as ae,F as ne,G as $}from"./GlobalSearch-B1vM_Hyh.js";import{S as de,P as ce,A as ue}from"./AdtechPersonalisedBanner-DGO6dW5_.js";import{S as he}from"./ShowMoreShowLessButton-BK6nJ-nr.js";import{O as me,C as ge}from"./ComparisonTool-VMbgL4hV.js";import{G as I,N as fe,S as _e,C as pe,a as be,b as xe}from"./Competitions-CE2YrRg7.js";import{s as N,a as z,v as we}from"./helpers-CQTP1zDs.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./NewsLetterSubscription-DQhV9I49.js";import"./axios-Jo-s5XR_.js";import"./index-DNQqAScT.js";const ve={name:"single-offer",components:{GdcImg:I},props:{id:{type:Number},offer:{type:Object,required:!0},offerAttributes:{type:Object,required:!0},reviewLink:{type:String,required:!1},listLocation:{type:String,required:!1},listPosition:{type:Number,required:!1,default:1},listId:{type:String,required:!1},rankVersion:{type:String,required:!1},imgPlaceholder:{type:String,required:!0},ct:{type:String,default:"cta"},ctaLocation:{type:String,required:!0},ctaText:{type:String,required:!1},gtm:{type:String,required:!0},state:{type:String,required:!1},stateData:{type:[Array,Object],required:!1},showAttributes:{type:Boolean,required:!1,default:!1}},data:function(){return{ctalocation:this.ctaLocation.replaceAll(" ","_"),lang:document.documentElement.getAttribute("lang")?document.documentElement.getAttribute("lang").toUpperCase():!1,ipCountry:document.documentElement.getAttribute("data-ipcountry")?document.documentElement.getAttribute("data-ipcountry").toUpperCase():!1,regionCode:document.documentElement.getAttribute("data-regioncode")?document.documentElement.getAttribute("data-regioncode"):!1,validTodayCurrentDate:new Date}},methods:{appendfragment:z,striptags:N,getAge(){return this.regionCode==="RI"?"18":"21"},moreInfo(t){const s=t.target.closest(".operator-item").querySelector(".more-info-table").style.display==="none";let e=t.target.closest(".operator-item");s?(e.querySelector(".more-info-table").style.display="block",e.querySelector(".more_info_arrow").classList.remove("more_info_arrow_up"),e.querySelector(".more_info_arrow").classList.add("more_info_arrow_down")):(e.querySelector(".more-info-table").style.display="none",e.querySelector(".more_info_arrow").classList.add("more_info_arrow_up"),e.querySelector(".more_info_arrow").classList.remove("more_info_arrow_down"))},formatDate(t){const s=t.getDate(),e=new Intl.DateTimeFormat(this.lang,{month:"long"}).format(t),u=new Intl.DateTimeFormat(this.lang,{year:"numeric"}).format(t),l=this.getDaySuffix(s);return`${s}${l} ${e} ${u}`},getDaySuffix(t){if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}},computed:{betNowText(){return window.translations.oplist.cta_bet_now||"BET NOW"},playNowText(){return window.translations.oplist.cta_play_now||"PLAY NOW"},payments(){return this.offer&&this.offer.payments?this.offer.payments.filter(t=>this.state===t.us_state.code):null},stateObject(){return Object.values(this.stateData).find(t=>t.code===this.state)},attributes(){let t=[];return t=this.offerAttributes.attributes.map(s=>(s.attribute=Object.values(s.attributes).find(e=>e.country_region_id===this.stateObject.id),!s.attribute||!s.attribute.value?this.showAttributes=!1:this.showAttributes=!0,s.label==="Our Rating"&&!s.attribute&&(s.attribute={value:91}),s)),t},usps(){let t=[];return t=this.offerAttributes.usps.filter(s=>s.country_region_id===this.stateObject.id),t.slice(0,3)}}},ye={class:"operator-list"},ke={key:0,class:"operator-item automation-single-cta operator-item-v2"},Ce={class:"operator-main flex flex-wrap mx-4"},Se={class:"flex justify-center"},Le={class:"operator-column-logo-v2"},Te={class:"logo-wrapper"},Ae=["href","data-gtm","data-ctalocation","data-operator","data-product","data-offer","data-brand_id","data-brand_product_id","data-offer_id","data-site_offer_id"],Fe=["src","alt","title"],Ie={class:"flex-grow max-w-full flex-1 px-0"},Me={class:"flex flex-wrap lg:flex-nowrap mx-0"},Ge={class:"operator-column-bonus-v2 lg:w-full"},Be={class:"offer-description"},De=["href","data-gtm","data-ctalocation","data-operator","data-product","data-offer","data-brand_id","data-brand_product_id","data-offer_id","data-site_offer_id"],Ee={class:"operator-bonus"},Pe=["innerHTML"],Oe={key:0},je=["innerHTML"],Re={class:"operator-playnow-column-v2 w-[320px] m-auto"},Ne={key:0,class:"availability-date-vue w-full text-gdc-gray-450 font-normal text-xs leading-[18px] text-center mb-3"},ze={class:"availability-value-vue"},qe=["href","data-gtm","data-ctalocation","data-operator","data-product","data-offer","data-brand_id","data-brand_product_id","data-offer_id","data-site_offer_id"],Ve={key:0,class:"button-blue-v2"},$e={key:1,class:"button-blue-v2"},Ue={key:2,class:"button-blue-v2"},He={class:"flex justify-center mt-3"},We=["src","title"],Je={class:"operator-item-link read-terms-link-v2"},Ze=["innerHTML"],Ye={key:1,class:"terms-and-conditions text-[12px] leading-4 text-gdc-gray-450 font-normal"},Ke={key:0},Xe={key:1},Qe={key:2},et=["innerHTML"],tt={key:0,class:"more-info-table container more_info_table_392_11",style:{display:"block"}},st={class:"more-info-attributes mb-3 flex flex-wrap",style:{padding:"0"}},it={key:0,class:"attributes-list lg:w-2/5 px-4 w-full"},ot={class:"lg:w-3/5 px-4 w-full px-4"},lt={class:"flex flex-wrap"},rt={class:"attribute w-1/2 md:w-1/3 px-4 basis-2/4 md:basis-4/12"},at={class:"promo-code"},nt=["innerHTML"],dt={key:1},ct={key:0,class:"attribute-name flex"},ut={class:"attribute-name-text"},ht={key:1,class:"attribute-value"};function mt(t,s,e,u,l,r){const n=b("gdc-img");return o(),a("div",ye,[Object.keys(e.offer).length>0?(o(),a("div",ke,[i("div",Ce,[i("div",Se,[i("div",Le,[i("div",Te,[i("a",{class:"operator-item__image_link exit-page-link block",rel:"nofollow",target:"_blank",href:r.appendfragment(e.offer.exit_link,e.ct,t.ctalocation,e.listId||"_","_",e.rankVersion||"_",e.listPosition,"_"),"data-gtm":e.gtm.replace("LOCATION","logo"),"data-kt":"oplistclk:a|ctalocation|operator|product|offer|brand_id|brand_product_id|offer_id|site_offer_id","data-ctalocation":e.ctaLocation,"data-operator":e.offer.brand_name,"data-product":e.offer.brand_product_name,"data-offer":r.striptags(e.offer.offer_short_description),"data-brand_id":e.offer.brand_id,"data-brand_product_id":e.offer.brand_product_id,"data-offer_id":e.offer.offer_id,"data-site_offer_id":e.offer.site_offer_id},[typeof e.offer.brand_product_image=="object"?(o(),C(n,{key:0,class:"img-fluid",image:e.offer.brand_product_image,alt:e.offer.brand_product_name,title:e.offer.brand_product_name},null,8,["image","alt","title"])):(o(),a("img",{key:1,loading:"lazy",class:"img-fluid",src:e.offer.brand_product_image,alt:e.offer.brand_product_name,title:e.offer.brand_product_name},null,8,Fe))],8,Ae),e.showAttributes&&this.lang!="FR-CA"?(o(),a("div",{key:0,class:"more_info_button d-flex align-items-center",onClick:s[0]||(s[0]=d=>r.moreInfo(d))},s[1]||(s[1]=[i("span",{class:"more_info_text more_info_text"},"More Details",-1),i("span",{class:"more_info_arrow_down more_info_arrow"},null,-1)]))):h("",!0)])])]),i("div",Ie,[i("div",Me,[i("div",Ge,[i("div",Be,[i("a",{class:"automation-play-now-cta operator-item__cta_link exit-page-link",rel:"nofollow",target:"_blank",href:r.appendfragment(e.offer.exit_link,e.ct,t.ctalocation,e.listId||"_","_",e.rankVersion||"_",e.listPosition,"_"),"data-gtm":e.gtm.replace("LOCATION","cta"),"data-kt":"oplistclk:a|ctalocation|operator|product|offer|brand_id|brand_product_id|offer_id|site_offer_id",style:{color:"initial"},"data-ctalocation":e.ctaLocation,"data-operator":e.offer.brand_name,"data-product":e.offer.brand_product_name,"data-offer":r.striptags(e.offer.offer_short_description),"data-brand_id":e.offer.brand_id,"data-brand_product_id":e.offer.brand_product_id,"data-offer_id":e.offer.offer_id,"data-site_offer_id":e.offer.site_offer_id},[i("div",null,[i("p",Ee,[i("span",{innerHTML:e.offer.offer_short_description},null,8,Pe),e.offer.promo_code?(o(),a("span",Oe,[s[2]||(s[2]=i("br",null,null,-1)),s[3]||(s[3]=k("Promo Code: ")),i("em",{innerHTML:e.offer.promo_code},null,8,je)])):h("",!0)])])],8,De)])]),i("div",Re,[e.offer.product_type==="Betting"&&t.lang!="FR-CA"?(o(),a("div",Ne,[s[4]||(s[4]=i("span",{class:"availability-label-vue"},"Valid Today: ",-1)),i("span",ze,c(r.formatDate(t.validTodayCurrentDate)),1)])):h("",!0),i("a",{class:"automation-play-now-cta operator-item__cta_link exit-page-link",rel:"nofollow",target:"_blank",href:r.appendfragment(e.offer.exit_link,e.ct,t.ctalocation,e.listId||"_","_",e.rankVersion||"_",e.listPosition,"_"),"data-gtm":e.gtm.replace("LOCATION","cta"),"data-kt":"oplistclk:a|ctalocation|operator|product|offer|brand_id|brand_product_id|offer_id|site_offer_id","data-ctalocation":e.ctaLocation,"data-operator":e.offer.brand_name,"data-product":e.offer.brand_product_name,"data-offer":r.striptags(e.offer.offer_short_description),"data-brand_id":e.offer.brand_id,"data-brand_product_id":e.offer.brand_product_id,"data-offer_id":e.offer.offer_id,"data-site_offer_id":e.offer.site_offer_id},[e.ctaText?(o(),a("span",Ve,c(e.ctaText),1)):e.offer.product_type=="Betting"?(o(),a("span",$e,c(r.betNowText),1)):(o(),a("span",Ue,c(r.playNowText),1))],8,qe),i("div",He,[(o(!0),a(x,null,w(r.payments,d=>(o(),a("div",{key:d.name,class:"payment-provider"},[i("img",{loading:"lazy",class:"img-fluid payment-provider-img",src:d.logo,title:d.name,width:"30",height:"24"},null,8,We)]))),128))])])])])]),i("div",Je,[e.offer.offer_terms_conditions?(o(),a("div",{key:0,class:"terms-and-conditions text-[12px] leading-4 text-gdc-gray-450 font-normal",innerHTML:e.offer.offer_terms_conditions},null,8,Ze)):(o(),a("div",Ye,[this.ipCountry=="CA"?(o(),a("span",Ke," 19+. T&C Apply. Play Responsibly ")):this.lang=="FR-CA"?(o(),a("span",Xe," 19+. T&C s'appliquent. Jouez de manière responsable ")):(o(),a("span",Qe,[i("span",{innerHTML:r.getAge()},null,8,et),s[5]||(s[5]=k("+, terms apply, 1800-GAMBLER "))]))]))]),e.showAttributes&&this.lang!="FR-CA"?(o(),a("div",tt,[i("div",st,[this.usps?(o(),a("div",it,[(o(!0),a(x,null,w(this.usps,d=>(o(),a("div",{class:"green-tick attribute-list-item",key:d.value},c(d.value),1))),128))])):h("",!0),i("div",ot,[i("div",lt,[i("div",rt,[s[6]||(s[6]=i("div",{class:"attribute-name flex"},[i("div",{class:"attribute-name-text"}," Promo Code ")],-1)),i("span",at,[e.offer.promo_code?(o(),a("em",{key:0,innerHTML:e.offer.promo_code},null,8,nt)):(o(),a("span",dt,"not required"))])]),(o(!0),a(x,null,w(r.attributes,d=>(o(),a("div",{class:"attribute w-1/2 md:w-1/3 pr-4 pl-4 basis-2/4 md:basis-4/12",key:d.attribute.value},[d&&d.attribute&&d.attribute.value?(o(),a("div",ct,[i("div",ut,c(d.label),1)])):h("",!0),d&&d.attribute?(o(),a("div",ht,c(d.attribute.value),1)):h("",!0)]))),128))])])])])):h("",!0)])):h("",!0)])}const gt=_(ve,[["render",mt]]),ft={props:{message:{type:String,default:"Loading..."},loaderFullContainer:{type:Boolean,default:!1}}},_t={class:"flex pt-2 items-center justify-center h-full"},pt={class:"spinner-grow text-gray-600",role:"status"},bt={class:"sr-only"};function xt(t,s,e,u,l,r){return o(),a("div",{class:m(e.loaderFullContainer?"h-full":"loader")},[i("div",_t,[i("div",pt,[i("span",bt,c(e.message),1)])])],2)}const wt=_(ft,[["render",xt]]),vt={name:"state-exit-link-button",props:{offer:{type:Object,require:!1},state:{type:String,require:!0},ctaText:{type:String},cta:{type:String,require:!0},ctaLocation:{type:String,require:!0},gtm:{type:String,require:!0},css:{type:String,default:"btn-cta-play-now exit-page-link"}},data:function(){return{isValidDestinationLink:!1}},mounted:function(){this.fetchLink()},methods:{appendfragment:z,striptags:N,fetchLink(){if(this.isValidDestinationLink=!1,Object.keys(this.offer).length===0)return!1;this.isValidDestinationLink=this.offer.destination_url??!0}},watch:{state(){this.fetchLink()}}},yt=["href","data-gtm","data-ctalocation","data-operator","data-product","data-offer","data-brand_id","data-brand_product_id","data-offer_id","data-site_offer_id"];function kt(t,s,e,u,l,r){return t.isValidDestinationLink?(o(),a("a",{key:0,class:m(e.css),rel:"nofollow",target:"_blank",href:r.appendfragment(e.offer.exit_link,"cta",e.cta),"data-gtm":e.gtm,"data-kt":"cta:a|ctalocation|operator|product|offer|brand_id|brand_product_id|offer_id|site_offer_id","data-ctalocation":e.ctaLocation,"data-operator":e.offer.brand_name,"data-product":e.offer.brand_product_name,"data-offer":r.striptags(e.offer.offer_short_description),"data-brand_id":e.offer.brand_id,"data-brand_product_id":e.offer.brand_product_id,"data-offer_id":e.offer.offer_id,"data-site_offer_id":e.offer.site_offer_id},c(e.ctaText),11,yt)):h("",!0)}const Ct=_(vt,[["render",kt]]),St={name:"payment-methods-table",props:{brandFeatures:{type:Array,require:!0},numberOfCols:{type:Number,default:5},state:{type:String,require:!0}},data:function(){return{paymentIds:[],paymentMethods:[],brandFeatureData:[],fullWidthTable:!1}},mounted:function(){this.fetchData()},methods:{fetchData(){this.paymentIds=[],this.paymentMethods=[],this.fullWidthTable=this.numberOfCols===5,this.brandFeatures.filter(t=>{t.us_state.code==this.state&&!this.paymentIds.includes(t.id)&&(this.paymentIds.push(t.id),this.paymentMethods.push(t))})}},watch:{state(){this.fetchData()}}},Lt={class:"payment-methods-table payment-methods-table-new"},Tt={class:"mt-8 flow-root"},At={class:"-my-2 overflow-x-auto"},Ft={class:"inline-block min-w-full py-2 align-middle"},It={class:"overflow-hidden mx-[3px] ring-1 ring-black ring-opacity-5 rounded-lg"},Mt={class:"min-w-full mt-0"},Gt={key:0,class:"bg-white"},Bt={class:"px-6 text-left"},Dt=["src","title","alt"],Et={class:"py-4 px-6 text-left"},Pt={key:0},Ot={key:1},jt={class:"py-4 px-6 text-left"},Rt={key:0},Nt={key:1},zt={class:"py-4 px-6 text-left"},qt={key:0},Vt={key:1},$t={key:1};function Ut(t,s,e,u,l,r){return o(),a("section",Lt,[i("div",Tt,[i("div",At,[i("div",Ft,[i("div",It,[i("table",Mt,[s[1]||(s[1]=i("thead",{class:"bg-gdc-gray-200"},[i("tr",null,[i("th",{scope:"col",class:"py-4 px-6 text-left font-semibold text-base-[24px]"}," Payment Method "),i("th",{scope:"col",class:"py-4 px-6 text-left font-semibold text-base-[24px]"}," Deposit Amount "),i("th",{scope:"col",class:"py-4 px-6 text-left font-semibold text-base-[24px]"}," Withdrawal Amount "),i("th",{scope:"col",class:"py-4 px-6 text-left font-semibold text-base-[24px]"}," Withdraw Time ")])],-1)),t.paymentMethods.length>0?(o(),a("tbody",Gt,[(o(!0),a(x,null,w(t.paymentMethods,n=>(o(),a("tr",{key:n.id},[i("td",Bt,[i("img",{loading:"lazy",src:n.logo,class:"h-[40px]",title:n.brand_feature_key.feature,alt:n.brand_feature_key.feature},null,8,Dt)]),i("td",Et,[n.deposit_amount?(o(),a("span",Pt," $"+c(n.deposit_amount),1)):(o(),a("span",Ot," - "))]),i("td",jt,[n.withdrawal_amount?(o(),a("span",Rt,c(n.withdrawal_amount),1)):(o(),a("span",Nt," - "))]),i("td",zt,[n.withdraw_time?(o(),a("span",qt,c(n.withdraw_time),1)):(o(),a("span",Vt," - "))])]))),128))])):(o(),a("tbody",$t,s[0]||(s[0]=[i("tr",null,[i("td",{colspan:"4",class:"py-4 px-6 text-center"}," No payments method for the selected state. ")],-1)])))])])])])])])}const Ht=_(St,[["render",Ut]]),Wt={name:"article-item",props:{article:{type:Object,required:!0},country:{type:String,required:!1},forceClass:{type:Boolean,default:!1}},methods:{handleClick(t){t.target.closest("a")||(window.location.href=this.article.path)}}},Jt={class:"card card-scroll box-shadow min-w-[255px] md:min-w-[auto] rounded-[10px] border-0 mr-0 pl-0"},Zt={class:"grid-thumb position-relative"},Yt={class:"automation-news-article-image relative"},Kt=["src","alt"],Xt={key:0,class:"image-credits absolute text-white text-xs px-2.5 py-[5px] rounded-[10px] right-0 bottom-0 bg-black"},Qt={class:"card-body text-lg leading-[27px] font-normal p-2.5"},es={class:"article-info flex items-center mb-4 text-xs leading-[18px] text-black"},ts={class:"article-author flex items-center"},ss={class:"author-img"},is=["src"],os={class:"author-name pl-2 text-gdc-blue-600 z-[2]"},ls=["href"],rs={key:1},as={class:"article-reading-time ml-auto pl-[0.75em]"},ns={class:"article-title pb-2 pb-lg-2 pb-md-1"},ds=["href"],cs={class:"article-short-description text-base leading-6 text-gdc-gray-450"},us={class:"article-footer row mt-2.5"},hs={class:"col-12 footer-item publish-date text-xs text-[gray]"},ms={key:0,class:""};function gs(t,s,e,u,l,r){return o(),a("div",{class:m(["article-container pr-2 last:pr-0 px-lg-4 pb-4 article-item cursor-pointer",{"first:pl-2":e.forceClass,"last:pl-2":e.forceClass,"pr-2":!e.forceClass,"last:pr-0":!e.forceClass}]),onClick:s[0]||(s[0]=(...n)=>r.handleClick&&r.handleClick(...n))},[i("div",Jt,[i("div",Zt,[i("div",Yt,[i("img",{loading:"lazy",class:"img-fluid article-image ls-is-cached w-full rounded-[10px]",src:e.article.img_main,alt:e.article.article_title,width:"680",height:"384"},null,8,Kt),e.article.image_credits?(o(),a("div",Xt,c(e.article.image_credits),1)):h("",!0)])]),i("div",Qt,[i("div",es,[i("div",ts,[i("div",ss,[i("img",{loading:"lazy",class:"rounded-full",src:e.article.author.image,width:"32",height:"32"},null,8,is)]),i("div",os,[e.article.authorPath?(o(),a("a",{key:0,href:e.article.authorPath.path,class:"text-gdc-blue-600 no-underline"},c(e.article.author.fullname),9,ls)):(o(),a("span",rs,c(e.article.author.fullname),1))])]),i("div",as,c(e.article.read_time)+" "+c(e.article.read_time_label),1)]),i("div",ns,[i("a",{href:e.article.path,class:"text-lg text-black no-underline"},c(e.article.article_title),9,ds)]),i("div",cs,c(e.article.short_description),1),i("div",us,[i("div",hs,[k(c(e.article.time_ago)+" ",1),e.article.country_name?(o(),a("span",ms,"| "+c(e.article.country_name),1)):h("",!0)])])])])],2)}const fs=_(Wt,[["render",gs]]),_s={name:"article-featured",props:{article:{required:!0}},methods:{handleClick(t){t.target.closest("a")||(window.location.href=this.article.path)}}},ps={class:"card card-scroll box-shadow min-w-[255px] grid grid-cols-1 md:grid-cols-2 items-center rounded-[10px] border-0 mr-0 pl-0"},bs={class:""},xs={class:"automation-news-article-image relative"},ws=["src","alt"],vs={class:"d-flex flex-column article-info-container basis-[70%] pl-2.5 pr-0 py-2.5 md:pl-[30px] md:pr-[60px] md:py-0"},ys={class:"article-info flex items-center mb-3 text-xs leading-[18px] text-black"},ks={class:"article-author flex items-center"},Cs={class:"author-img"},Ss=["src"],Ls={class:"author-name pl-2 text-gdc-blue-600 z-[2]"},Ts=["href"],As={key:1},Fs={class:"article-reading-time pl-4"},Is={class:"article-title"},Ms=["href"],Gs={class:"article-short-description text-base leading-6 text-gdc-gray-450"},Bs={class:"article-footer row mt-2.5"},Ds={class:"col-12 footer-item publish-date text-xs text-[gray]"},Es={key:0,class:""};function Ps(t,s,e,u,l,r){return o(),a("div",{class:"featured-article pb-4 cursor-pointer",onClick:s[0]||(s[0]=(...n)=>r.handleClick&&r.handleClick(...n))},[i("div",ps,[i("div",bs,[i("div",xs,[i("img",{loading:"lazy",class:"img-fluid article-image ls-is-cached w-full rounded-[10px]",src:e.article.img_main,alt:e.article.article_title,width:"680",height:"384"},null,8,ws)])]),i("div",vs,[i("div",ys,[i("div",ks,[i("div",Cs,[i("img",{loading:"lazy",class:"ls-is-cached rounded-full",src:e.article.author.image,width:"32",height:"32"},null,8,Ss)]),i("div",Ls,[e.article.authorPath?(o(),a("a",{key:0,href:e.article.authorPath.path,class:"text-gdc-blue-600 no-underline"},c(e.article.author.fullname),9,Ts)):(o(),a("span",As,c(e.article.author.fullname),1))])]),i("div",Fs,c(e.article.read_time)+" "+c(e.article.read_time_label),1)]),i("div",Is,[i("a",{href:e.article.path,class:"mb-1 text-2xl leading-[30px] text-black no-underline"},c(e.article.article_title),9,Ms)]),i("div",Gs,c(e.article.short_description),1),i("div",Bs,[i("div",Ds,[k(c(e.article.time_ago)+" ",1),e.article.country_name?(o(),a("span",Es,"| "+c(e.article.country_name),1)):h("",!0)])])])])])}const Os=_(_s,[["render",Ps]]),js={name:"switch-tw",model:{prop:"isEnabled",event:"toggle"},props:{active:{type:Boolean,required:!0},options:{type:Array,required:!0},color:{type:String,required:!1,default:"#0157FF"}},methods:{toggle:function(){this.$emit("toggle",!this.active)}}},Rs={class:"switch-tw inline-flex items-center cursor-pointer"},Ns={class:"inline-flex items-center cursor-pointer"},zs=["checked"];function qs(t,s,e,u,l,r){return o(),a("div",Rs,[e.options&&e.options.length>1?(o(),a("span",{key:0,class:"ml-3 mr-3 text-sm font-medium",style:E({color:e.active?"lightgray":e.color})},c(e.options[0]),5)):h("",!0),i("label",Ns,[i("input",{type:"checkbox",onClick:s[0]||(s[0]=(...n)=>r.toggle&&r.toggle(...n)),value:"1",class:"sr-only peer",checked:e.active?"checked":""},null,8,zs),i("div",{class:m([{"peer-checked:after:translate-x-full":e.active},"relative w-11 h-6 bg-[#0157FF] peer-focus:outline-none rounded-full after:absolute after:top-[2px] after:left-[2px] after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-[#0157FF]"])},null,2),i("span",{class:"ml-3 text-sm font-medium",style:E({color:e.active?e.color:"lightgray"})},c(e.options.length>1?e.options[1]:e.options[0]),5)])])}const Vs=_(js,[["render",qs]]),$s={name:"articles-global",components:{"article-item":fs,"article-featured":Os,"switch-tw":Vs},props:{articles:{required:!0}},computed:{activeRegionCode:function(){const t=document.querySelector("html").getAttribute("data-ipcountry");let s=t?t==="en-GB"?"gb":t.toLowerCase():"gb";return this.data.find(u=>u.code===s)||(s="gb"),s},data:function(){return Object.keys(this.articles).map(t=>this.articles[t])},countrySections:function(){const t=["ca","ca-fr"].includes(this.activeRegionCode)?["ca","ca-fr"]:[this.activeRegionCode];return this.data.filter(s=>!t.includes(s.code)).sort((s,e)=>s.name.localeCompare(e.name))},activeCountrySections:function(){return this.activeRegionCode==="ca-fr"&&(this.toggleEnabled=!0),["ca","ca-fr"].includes(this.activeRegionCode)?this.data.filter(s=>["ca","ca-fr"].includes(s.code)):this.data.filter(t=>t.code===this.activeRegionCode)},featuredArticle:function(){return this.activeCountrySections.length>1?this.toggleEnabled?this.activeCountrySections.find(t=>t.language==="French").articles[0]:this.activeCountrySections.find(t=>t.language==="English").articles[0]:this.activeCountrySections[0].articles[0]}},data(){return{toggleEnabled:!1,dualLanguageMapping:{ca:"ca-fr"}}},methods:{toggle:function(t){return this.toggleEnabled=t,""},isDualLanguage:function(t){return t.code==="ca"||t.code==="ca-fr"},showActiveLanguage:function(t){return!this.isDualLanguage(t)||!this.toggleEnabled&&t.language==="English"?!0:this.toggleEnabled&&t.language==="French"}}},Us={class:"container"},Hs={key:0,class:"geo-news-title flex items-center relative pl-0"},Ws={key:0,class:"switch-wrapper news feature"},Js={class:"ml-auto geo-news-link"},Zs=["href"],Ys={class:"automation-news-articles section-articles news-list",role:"","data-country":""},Ks={key:1,class:"grid grid-cols-1 md:grid-cols-3"},Xs={key:0,class:"country-section-wrapper"},Qs={class:"geo-news-title flex items-center py-2 sm:mt-[60px] relative"},ei={class:"m-0 ml-0 font-semibold"},ti={key:0,class:"switch-wrapper news"},si={class:"ml-auto"},ii=["href"],oi={class:"grid-cols-1 feature-list grid min-[420px]:mx-[-15px] md:grid-cols-3 md:px-0"};function li(t,s,e,u,l,r){const n=b("switch-tw"),d=b("article-featured"),f=b("article-item");return o(),a("div",null,[i("div",null,[(o(!0),a(x,null,w(r.activeCountrySections,g=>(o(),a("div",{key:g.name},[i("div",Us,[r.showActiveLanguage(g)?(o(),a("div",Hs,[s[0]||(s[0]=i("div",null,[i("h2",{class:"featured-news mt-0 sm:mt-4 text-xl lg:text-3xl"},"Featured News")],-1)),r.isDualLanguage(g)?(o(),a("div",Ws,[v(n,{class:"switch-tw",onToggle:r.toggle,active:l.toggleEnabled,options:["English","French"]},null,8,["onToggle","active"])])):h("",!0),i("div",Js,[i("a",{href:g.geoPath,class:"all-geo-news text-[#0157FF] font-normal text-sm leading-3"},c(g.section_label?g.section_label:"All "+g.name+" News"),9,Zs)])])):h("",!0)])]))),128)),i("div",Ys,[(o(!0),a(x,null,w(r.activeCountrySections,g=>(o(),a("div",{class:"featured-articles-wrapper",key:g.name},[r.showActiveLanguage(g)?(o(),C(d,{key:0,article:r.featuredArticle},null,8,["article"])):h("",!0),r.showActiveLanguage(g)?(o(),a("div",Ks,[(o(!0),a(x,null,w(g.articles.slice(1,4),p=>(o(),C(f,{key:p.id,article:p,country:g.name},null,8,["article","country"]))),128))])):h("",!0)]))),128)),(o(!0),a(x,null,w(r.countrySections,g=>(o(),a("div",{key:g.name},[r.showActiveLanguage(g)?(o(),a("div",Xs,[i("div",Qs,[i("div",null,[i("h4",ei,c(g.name),1)]),r.isDualLanguage(g)?(o(),a("div",ti,[v(n,{onToggle:r.toggle,active:l.toggleEnabled,color:"#0157FF",options:["English","French"]},null,8,["onToggle","active"])])):h("",!0),i("div",si,[i("a",{href:g.geoPath,class:"all-geo-news text-[#0157FF] font-normal text-sm leading-3"},c(g.section_label?g.section_label:"All "+g.name+" News"),9,ii)])]),i("div",oi,[(o(!0),a(x,null,w(g.articles.slice(0,3),p=>(o(),a("div",{key:p},[v(f,{article:p,country:g.name,"force-class":!0},null,8,["article","country"])]))),128))])])):h("",!0)]))),128))])])])}const ri=_($s,[["render",li]]),ai={name:"age-checker-gb-tw",props:{url:String,merchantkey:String,demotext:String,demoplay:String,disablemodal:String,"age-checker-verified":{type:Boolean,default:!1}},data(){return{showAgeChecker:!0}},mounted(){this.loadAgecheckedScript(),this.disablemodal||MicroModal.init({targetModal:"slotModal"});const t=setInterval(()=>{window.supabase_access?(this.supabaseAgeCheck(),clearInterval(t)):(this.showAgeChecker=!0,this.updateVerification(!1))},50);window.addEventListener("preAgeVerified",()=>{this.showAgeChecker=!1})},updated(){const t=setInterval(()=>{window.supabase_access?(this.supabaseAgeCheck(),clearInterval(t)):(this.showAgeChecker=!0,this.updateVerification(!1))},50)},methods:{supabaseAgeCheck:async function(){let t=await window.supabase_access.getUser();t.user_metadata&&t.user_metadata.age_verified?(this.showAgeChecker=!1,this.updateVerification(!0)):(this.showAgeChecker=!0,this.updateVerification(!1))},loadAgecheckedScript:function(){if(document.querySelector("#age-checker-gb-script"))return;let t=document.createElement("script");t.setAttribute("src","https://code.jquery.com/jquery-3.7.1.min.js"),t.setAttribute("id","age-checker-gb-script"),t.async=!0,document.head.appendChild(t);let s=document.createElement("script");s.setAttribute("src",this.url+"/api/jsapi/getjavascript?merchantkey="+this.merchantkey+"&version=1.0"),s.async=!0,document.head.appendChild(s)},handlereturn:function(t){Agechecked.API.modalclose();var s=JSON.parse(t.data);s.status==6||s.status==7||s.status==12?(this.showAgeChecker=!1,this.openModalGame(),this.updateVerification(!0),window.supabase_access.updateUser({data:{age_verified:!0}})):(this.updateVerification(!1),this.showAgeChecker=!0)},openModalGame:function(){this.disablemodal?this.dispatchSlotGridDemoEvent():(toggleGameDemo("open"),MicroModal.show("slotModal",{disableFocus:!0,openClass:"slot-modal-opened"})),document.querySelector("#age-checker-gb")&&document.querySelector("#age-checker-gb").classList.remove("agechecker-container")},closeModalGamex:function(){MicroModal.close("slotModal")},openPopup:function(){Agechecked.API.registerreturn(t=>{this.handlereturn(t)}),Agechecked.API.createagecheckjson({mode:"javascript",avtype:"agechecked"}).done(function(t){Agechecked.API.modalopen(t.agecheckurl)})},gameDemoToggle:async function(){await this.supabaseAgeCheck(),this.disablemodal?this.dispatchSlotGridDemoEvent():toggleGameDemo("open")},dispatchSlotGridDemoEvent:function(){let t=new CustomEvent("slotGridDemoEvent",{detail:{action:"open"}});window.dispatchEvent(t)},resetAgeCheckerText:function(){document.getElementById("age-checker-gb-spinner").classList.add("hidden"),document.getElementById("age-checker-gb-text").textContent="Verify & Play"},verifyMyAge:async function(){document.getElementById("age-checker-gb-spinner").classList.remove("hidden"),document.getElementById("age-checker-gb-text").textContent="Checking your profile";let t=await window.supabase_access.getUser();t==null?(this.showAgeChecker=!0,this.openPopup(),this.resetAgeCheckerText()):t.user_metadata.age_verified?(this.openModalGame(),this.showAgeChecker=!1):(await we(t.email)).data.is_adult?(this.openModalGame(),this.showAgeChecker=!1,await window.supabase_access.updateUser({data:{age_verified:!0}})):(this.showAgeChecker=!0,this.openPopup(),this.resetAgeCheckerText())},updateVerification(t){this.$emit("update:age-checker-verified",t)}}},ni={key:0,class:"pb-12"},di={class:"text-white pt-2"},ci={key:1},ui={class:"demo-text underlined text-center text-white text-xl"},hi={class:"demo-text not-underlined text-center text-white text-xl"};function mi(t,s,e,u,l,r){return this.showAgeChecker?(o(),a("div",ni,[i("div",di,[s[3]||(s[3]=i("p",{class:"text-base text-center"},"This is an age restricted Demo",-1)),i("div",null,[i("button",{class:"flex justify-center items-center leading-[54px] font-semibold text-white uppercase pr-4 pl-4 rounded text-base bg-gdc-blue-600 hover:bg-gdc-blue-700 w-[300px] m-auto",onClick:s[0]||(s[0]=n=>r.verifyMyAge())},s[2]||(s[2]=[i("svg",{id:"age-checker-gb-spinner",class:"animate-spin -ml-1 mr-3 h-5 w-5 hidden",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[i("circle",{class:"opacity-25 text-gdc-gray-250",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),i("path",{class:"opacity-75 text-white",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1),i("span",{id:"age-checker-gb-text"},"Verify & Play",-1)]))])])])):this.showAgeChecker?h("",!0):(o(),a("div",ci,[i("div",{class:"cursor-pointer",onClick:s[1]||(s[1]=(...n)=>r.gameDemoToggle&&r.gameDemoToggle(...n))},[s[4]||(s[4]=i("div",null,[i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",class:"m-auto"},[i("path",{class:"hover:fill-gdc-blue-700","fill-rule":"evenodd","clip-rule":"evenodd",d:"M25 49.6667C11.3975 49.6667 0.333336 38.6003 0.333336 25C0.333336 11.3974 11.3975 0.333328 25 0.333328C38.6025 0.333328 49.6667 11.3974 49.6667 25C49.6667 38.6003 38.6025 49.6667 25 49.6667Z",fill:"#0157FF"}),i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.0303 15.2439C16.0303 14.8134 16.1649 14.477 16.4272 14.2304C16.6941 13.9859 17.017 13.8424 17.4005 13.7998C17.7862 13.755 18.1606 13.8379 18.5262 14.0465L35.4071 23.7113C35.9363 24.0073 36.2054 24.4401 36.2122 25.0097C36.2166 25.5815 35.9498 26.0121 35.4071 26.3081L18.5262 35.9348C18.1606 36.1568 17.7862 36.2442 17.4005 36.2016C17.017 36.159 16.6941 36.0155 16.4272 35.7688C16.1649 35.5244 16.0303 35.1925 16.0303 34.7754V15.2439Z",fill:"white"})])],-1)),i("div",ui,c(e.demoplay),1),i("div",hi,c(e.demotext),1)])]))}const U=_(ai,[["render",mi]]),gi={props:{value:String,suggestions:Array,placeholder:{type:String,default:"Search..."},label:{type:String,default:"title"},inputClass:{type:String,default:""},searchIconPosition:{type:String,default:"2%"}},data(){return{showSuggestions:!0,search:"",searchTerm:""}},mounted(){document.addEventListener("click",t=>{this.$el.contains(t.target)||(this.showSuggestions=!1)})},computed:{matches(){return this.$emit("change",this.search),this.filterSuggestions()}},methods:{filterSuggestions(){return this.search?this.showSuggestions?this.suggestions.filter(s=>s[this.label].toLowerCase().includes(this.search.toLowerCase())).sort((s,e)=>s[this.label].toLowerCase().indexOf(this.search.toLowerCase())e.id==t);this.search=s[this.label]}}},fi={class:"autocomplete-wrapper relative"},_i=["placeholder"],pi={class:"autocomplete-suggestions w-max min-w-full !p-0 border-[1px] border-solid border-[rgb(197,197,197)] bg-white absolute !mt-0 text-[14px] overflow-y-hidden z-10"},bi=["onClick"],xi={class:"block text-[14px]"};function wi(t,s,e,u,l,r){return o(),a("div",fi,[y(i("input",{type:"text","onUpdate:modelValue":s[0]||(s[0]=n=>l.search=n),onFocus:s[1]||(s[1]=n=>l.showSuggestions=!0),placeholder:e.placeholder,class:m(["w-full py-2.5 text-base rounded-md focus:outline-none focus:ring-0 outline-none placeholder-text-gray-400",e.inputClass]),style:E(`background: url('https://objects.kaxmedia.com/auto/o/139752/7900ca8f22.svg') ${e.searchIconPosition} no-repeat;`)},null,46,_i),[[T,l.search]]),y(i("ul",pi,[(o(!0),a(x,null,w(r.matches,(n,d)=>(o(),a("li",{key:d,onClick:f=>r.onClick(n.id),class:"cursor-pointer !mb-0 pb-[5px] pl-[5px]"},[i("span",xi,c(n[e.label]),1)],8,bi))),128))],512),[[A,l.showSuggestions&&r.matches.length>0]])])}const H=_(gi,[["render",wi]]),vi={name:"pagination",props:{maxVisibleButtons:{type:Number,required:!1,default:5},totalPages:{type:Number,required:!0},total:{type:Number,required:!0},perPage:{type:Number,required:!0},currentPage:{type:Number,required:!0},showFirstLastButtons:{type:Boolean,default:!0}},computed:{firstItem(){return(this.currentPage-1)*this.perPage+1},lastItem(){return this.isInLastPage?this.total:this.firstItem+this.perPage-1},startPage(){return this.currentPage===1?1:this.currentPage===this.totalPages&&this.totalPages>=this.maxVisibleButtons?this.totalPages-this.maxVisibleButtons+1:this.currentPage-1},endPage(){return Math.min(this.startPage+this.maxVisibleButtons-1,this.totalPages)},pages(){return this.fetchLinksWithClasses(this.currentPage,this.totalPages)},isInFirstPage(){return this.currentPage===1},isInLastPage(){return this.currentPage===this.totalPages},firstButtonText(){return window.translations.pagination.first||"First"},lastButtonText(){return window.translations.pagination.last||"Last"},outOfText(){return window.translations.pagination.out_of||"out of"}},methods:{onClickFirstPage(){this.$emit("pagechanged",1)},onClickPreviousPage(){this.$emit("pagechanged",this.currentPage-1)},onClickPage(t){typeof t=="string"||t instanceof String||this.$emit("pagechanged",t)},onClickNextPage(){this.$emit("pagechanged",this.currentPage+1)},onClickLastPage(){this.$emit("pagechanged",this.totalPages)},isPageActive(t){return this.currentPage===t},fetchLinks(t=1,s=1){let e=[];if(s<=5){for(let l=1;l<=s;l+=1)e.push(l);return e}for(let l=1;l<=5;l+=1)e.push(l);let u=1;for(let l=1;l<=e.length;l++)switch(l){case 1:break;case 2:t-2===u?e[1]=t-1:t===1||t===2?e[1]=2:e[1]="...";break;case 3:t===s?e[2]=t-2:t===s-1?e[2]=t-1:t>u+1&&tu||t+2e[0]&&e[1]==="...",n=t+2=3;if(r){let d=!0,f=t-2,g=t-1;t-3>e[0]&&(d=!1),d&&e[1]==="..."&&(u[1].class="showMobileOnly");let p={class:l,label:f},S={class:l,label:g};t+1===s?u.splice(2,0,p):u.splice(2,0,p,S)}if(n){let d=!0,f=t+1,g=t+2;t+3r.onClickPreviousPage&&r.onClickPreviousPage(...n)),alt:"Arrow Left",src:"https://objects.kaxmedia.com/auto/o/139702/da48137e63.svg"})])),(o(!0),a(x,null,w(r.pages,n=>(o(),a("li",{class:m(["inline cursor-pointer text-center ml-[5px] mr-[3px] my-[5px] relative leading-[1.42857143] no-underline box-border border border-gdc-blue-600 rounded py-1.5 border-solid text-gdc-blue-500 hover:text-white hover:bg-gdc-blue-600 w-[38px]",{"active text-white bg-gdc-blue-600":r.isPageActive(n.label),disabled:typeof n.label=="string"||n.label instanceof String,"d-none":n.class==="hideMobile","d-lg-inline-block":n.class==="hideMobile","d-lg-none":n.class==="showMobileOnly","d-inline-block":n.class==="showMobileOnly","bg-white":!r.isPageActive(n.label)}]),key:n.label+Math.random(),onClick:d=>r.onClickPage(n.label)},[i("span",{disabled:r.isPageActive(n.label)||typeof n.label=="string"||n.label instanceof String,class:m({active:r.isPageActive(n.label)})},c(n.label),11,Ii)],10,Fi))),128)),r.isInLastPage?(o(),a("li",Mi,s[3]||(s[3]=[i("img",{loading:"lazy",alt:"Arrow Right",src:"https://objects.kaxmedia.com/auto/o/139740/eb6a54de44.svg"},null,-1)]))):(o(),a("li",Gi,[i("img",{loading:"lazy",onClick:s[1]||(s[1]=(...n)=>r.onClickNextPage&&r.onClickNextPage(...n)),alt:"Arrow Right",src:"https://objects.kaxmedia.com/auto/o/139703/8a8d4cc06f.svg"})]))])])])])])}const W=_(vi,[["render",Bi],["__scopeId","data-v-36c1bce8"]]),Di={name:"AuthorBioCard",components:{"gdc-img":I},props:{author:Object,index:Number,labels:Object},data(){return{showUrlCopiedText:null}},methods:{truncatedText(t){return!t.length<=220?t.slice(0,220)+"...":t},copyLinkAndDisplayTranslationText(t,s){navigator.clipboard.writeText(`${window.location.origin}${s}`).then(()=>{this.showUrlCopiedText=t,setTimeout(()=>this.showUrlCopiedText=null,2e3)}).catch(e=>{console.error("Failed to copy: ",e)})}}},Ei={class:"flex flex-col self-stretch gap-3 pb-5"},Pi={class:"flex flex-row justify-start gap-6 items-center self-start py-2.5 ps-10 border-b border-gdc-gray-200 w-full"},Oi=["srcset"],ji=["href"],Ri={key:0,class:"flex flex-col gap-2 px-4"},Ni={class:"flex justify-start gap-2 items-center"},zi=["srcset"],qi={class:"text-md font-semibold leading-6"},Vi={class:"list-inside !pl-2 !m-0"},$i={key:1,class:"flex flex-col gap-2 px-4"},Ui={class:"flex justify-start gap-2 items-center"},Hi=["srcset"],Wi={class:"text-md font-semibold leading-6"},Ji=["innerHTML"],Zi=["href"],Yi={class:"flex items-end flex-grow gap-4 px-4 mb-4"},Ki=["href"],Xi=["srcset"],Qi=["href"],eo=["srcset"],to=["href"],so=["srcset"],io=["href"],oo=["srcset"],lo=["href"],ro=["srcset"],ao=["href"],no=["srcset"],co={key:5,class:"m-0 pl-2 text-base"};function uo(t,s,e,u,l,r){const n=b("gdc-img");return o(),a(x,null,[i("div",Ei,[i("div",Pi,[i("picture",null,[i("source",{srcset:e.author.image},null,8,Oi),v(n,{image:e.author.image,alt:e.author.alt_text,class:"h-[72px] w-[72px] img-fluid rounded-full",imagePath:e.author.image},null,8,["image","alt","imagePath"])]),i("a",{href:e.author.link,class:"text-blue-ribbon-700 text-base leading-[25.6px] font-normal not-italic"},c(e.author.full_name),9,ji)])]),Object.keys(e.author.interest_list).length?(o(),a("div",Ri,[i("div",Ni,[i("picture",null,[i("source",{srcset:e.labels.expertise_img},null,8,zi),v(n,{class:"w-8 h-8",alt:"Attribute Icon - Red - Bonus Feature",lazyload:!0})]),i("span",qi,c(e.labels.expertise_translation_text),1)]),i("ul",Vi,[i("li",null,c(Object.values(e.author.interest_list).join(", ")),1)])])):h("",!0),e.author.contributor_bio||e.author.introduction_text?(o(),a("div",$i,[i("div",Ui,[i("picture",null,[i("source",{srcset:e.labels.experience_img},null,8,Hi),v(n,{class:"w-8 h-8",alt:"Attribute Icon - Red - News",lazyload:!0})]),i("span",Wi,c(e.labels.experience_translation_text),1)]),i("p",{class:"flex flex-col items-start self-stretch text-[#222] text-base leading-[25.6px] font-normal not-italic mb-0",innerHTML:r.truncatedText(e.author.contributor_bio?e.author.contributor_bio:e.author.introduction_text)},null,8,Ji),i("a",{href:e.author.link,class:"self-stretch text-blue-ribbon-700 text-base leading-[25.6px] font-normal not-italic"},c(e.labels.read_more_translation_text),9,Zi)])):h("",!0),i("div",Yi,[e.author.facebook?(o(),a("a",{key:0,href:`//facebook.com/${e.author.facebook.replace("@","")}`,target:"blank"},[i("picture",null,[i("source",{srcset:e.labels.facebook_img},null,8,Xi),v(n,{class:"w-[38px] h-[38px]",alt:"Facebook Icon",lazyload:!0})])],8,Ki)):h("",!0),e.author.twitter?(o(),a("a",{key:1,href:`//twitter.com/${e.author.twitter.replace("@","")}`,target:"blank"},[i("picture",null,[i("source",{srcset:e.labels.twitter_img},null,8,eo),v(n,{class:"w-[38px] h-[38px]",alt:"Twitter Icon",lazyload:!0})])],8,Qi)):h("",!0),e.author.instagram?(o(),a("a",{key:2,href:`//instagram.com/${e.author.instagram.replace("@","")}`,target:"blank"},[i("picture",null,[i("source",{srcset:e.labels.instagram_img},null,8,so),v(n,{class:"w-[38px] h-[38px]",alt:"Instagram Icon",lazyload:!0})])],8,to)):h("",!0),e.author.linkedin?(o(),a("a",{key:3,href:`//linkedin.com/${e.author.linkedin.replace("@","")}`,target:"blank"},[i("picture",null,[i("source",{srcset:e.labels.linkedin_img},null,8,oo),v(n,{class:"w-[38px] h-[38px]",alt:"LinkedIn Icon",lazyload:!0})])],8,io)):h("",!0),e.author.email?(o(),a("a",{key:4,href:`mailto:${e.author.email}`,target:"_blank"},[i("picture",null,[i("source",{srcset:e.labels.email_img},null,8,ro),v(n,{class:"w-[38px] h-[38px]",alt:"Email Icon",lazyload:!0})])],8,lo)):h("",!0),i("a",{href:e.author.link,onClick:s[0]||(s[0]=B(d=>r.copyLinkAndDisplayTranslationText(e.index,e.author.link),["prevent"]))},[i("picture",null,[i("source",{srcset:e.labels.copy_link_img},null,8,no),v(n,{class:"w-[38px] h-[38px]",alt:"Copy Link Icon",lazyload:!0})])],8,ao),l.showUrlCopiedText===e.index?(o(),a("p",co,c(e.labels.url_copied_translation_text),1)):h("",!0)])],64)}const J=_(Di,[["render",uo]]),ho={name:"AuthorsNextSmartCareerMove",components:{"gdc-img":I},props:{labels:Object}},mo={class:"flex flex-wrap md:flex-nowrap md:space-x-4 mt-4 space-y-4 md:space-y-0"},go={class:"w-full lg:w-[400px]"},fo=["srcset"],_o={class:"w-full rounded-lg border border-gdc-gray-400 px-[35px] pt-[55px] pb-[20px]"},po={class:"text-[25px] leading-[32px] font-semibold"},bo={class:"block"},xo={class:"mt-5"},wo={class:"mt-10 flex flex-wrap sm:flex-nowrap sm:space-x-[40px]"},vo={class:"order-last sm:order-first mx-auto sm:mx-0",title:"Gambling.com Corporate on LinkedIn",href:"https://www.linkedin.com/company/gambling-com-group"},yo=["srcset"],ko={href:"https://www.gambling.com/corporate/careers",class:"mb-4 sm:mb-0 block text-white w-full md:w-[304px] text-center transition duration-[0.2s] ease-out cursor-pointer py-3 rounded-md border hover:border-solid hover:border-[#003ee6] hover:text-white bg-[#0157FF] hover:bg-[#003ee6] hover:transition hover:duration-[0.1s] hover:ease-in uppercase font-semibold"};function Co(t,s,e,u,l,r){const n=b("gdc-img");return o(),a("div",mo,[i("div",go,[i("picture",null,[i("source",{srcset:e.labels.smart_careers_move_img},null,8,fo),v(n,{class:"rounded-lg border object-fit w-full h-full border sm:max-w-none w-full lg:w-[400px] object-cover h-full rounded-lg",alt:"GDC - Next Smart Career Move Img",lazyload:!0})])]),i("div",_o,[i("div",po,[k(c(e.labels.smart_career_move_title)+" ",1),i("span",bo,c(e.labels.smart_career_move_subtitle),1)]),i("div",xo,c(e.labels.smart_career_move_text),1),i("div",wo,[i("a",vo,[i("picture",null,[i("source",{srcset:e.labels.linkedin_img},null,8,yo),v(n,{title:"Gambling.com Corporate on LinkedIn",alt:"LinkedIn Icon",lazyload:!0,style:{width:"52px"}})])]),i("a",ko,c(e.labels.smart_career_move_button_text),1)])])])}const Z=_(ho,[["render",Co]]),So={name:"AuthorList",components:{autocomplete:H,pagination:W,"author-bio-card":J,"authors-next-smart-career-move":Z,"gdc-img":I},props:{authors:Array,translations:Object,labels:Object},data(){return{authorPerPage:30,currentPage:1,showUrlCopiedText:null,sortedAuthors:[]}},mounted(){},computed:{totalPages(){return Math.ceil(this.sortedAuthors.length/this.authorPerPage)},authorsToDraw(){let t=this.authorPerPage*this.currentPage,s=t-this.authorPerPage;return this.sortedAuthors.sort((e,u)=>u.articleCount-e.articleCount),this.sortedAuthors.slice(s,t)}},methods:{changePage(t){this.currentPage=t,window.scrollTo({top:window.pageYOffset+document.getElementById("authors-list-container").getBoundingClientRect().top-110})},getSearchedAuthor(t){!t||typeof t!="string"?this.sortedAuthors=this.authors.filter(s=>s.articleCount>0):(this.currentPage=1,this.sortedAuthors=this.authors.filter(function(s){return s.full_name.toLowerCase().includes(t.toLowerCase())}))}}},Lo={class:"mt-4"},To={class:"automation-search-wrapper"},Ao={class:"grid lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1 lg:gap-3 md:gap-2 mt-6"},Fo={class:"ml-2"};function Io(t,s,e,u,l,r){const n=b("autocomplete"),d=b("author-bio-card"),f=b("pagination"),g=b("authors-next-smart-career-move");return o(),a("div",Lo,[i("div",To,[v(n,{suggestions:e.authors,placeholder:e.translations.search_authors,label:"full_name",onChange:r.getSearchedAuthor,inputClass:"pl-[45px] shadow-[0px_2px_4px_0px_#2C2E3012] border-2 border-[#818181] bg-left"},null,8,["suggestions","placeholder","onChange"])]),i("div",Ao,[(o(!0),a(x,null,w(r.authorsToDraw,(p,S)=>(o(),a("div",{key:p.id,class:"flex flex-col gap-3 grow rounded-xl bg-white border-t-2 border-red-600 mb-4 shadow-lg min-h-[500px]"},[v(d,{author:p,index:S,labels:e.labels.authorLabels},null,8,["author","index","labels"])]))),128))]),i("div",Fo,[v(f,{"total-pages":r.totalPages,total:this.sortedAuthors.length,"per-page":this.authorPerPage,"current-page":l.currentPage,onPagechanged:s[0]||(s[0]=p=>r.changePage(p))},null,8,["total-pages","total","per-page","current-page"])]),v(g,{labels:e.labels.careerLabels},null,8,["labels"])])}const Mo=_(So,[["render",Io]]),Go={name:"show-more-show-less-pagination",props:{totalItems:{type:Number,required:!0},initialItems:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},showMoreText:{type:String,required:!0},showLessText:{type:String,required:!0},defaultShowingOfText:{type:String,required:!0},parentConfig:{type:Object,required:!0}},data:function(){return{page:1,itemsToShow:this.initialItems,previousItemsToShow:this.initialItems,showingOfText:this.defaultShowingOfText,containerId:"show-more-show-less-pagination-"}},mounted:function(){this.$emit("updateItemsShowed",this.itemsToShow),this.containerId+=Date.now()},computed:{showComponent(){return this.totalItems>this.initialItems}},methods:{showMore(){this.page++,this.previousItemsToShow=this.itemsToShow,this.itemsToShow=this.initialItems+(this.page-1)*this.itemsPerPage,this.itemsToShow>=this.totalItems&&(this.itemsToShow=this.totalItems),this.updateShowingOfText(),this.$emit("updateItemsShowed",this.itemsToShow)},showLess(){this.page--,this.previousItemsToShow=this.itemsToShow,this.itemsToShow=this.initialItems+(this.page-1)*this.itemsPerPage,this.itemsToShow<=this.initialItems&&(this.itemsToShow=this.initialItems),this.updateShowingOfText(),this.$emit("updateItemsShowed",this.itemsToShow),setTimeout(()=>{let t=document.querySelector("#"+this.parentConfig.id).lastElementChild,s=document.body.getBoundingClientRect().top,l=t.getBoundingClientRect().top-s-this.parentConfig.scrollOffset;window.scrollTo({top:l,behavior:"smooth"})},50)},updateShowingOfText(){this.showingOfText=this.showingOfText.replace(this.previousItemsToShow,this.itemsToShow)}}},Bo=["id"],Do=["innerHTML"],Eo=["value","max"];function Po(t,s,e,u,l,r){return r.showComponent?(o(),a("div",{key:0,id:t.containerId,class:"text-center mt-5 mb-3"},[this.itemsToShow>this.initialItems?(o(),a("button",{key:0,onClick:s[0]||(s[0]=(...n)=>r.showLess&&r.showLess(...n)),class:"border border-[#231f20] rounded-md text-[#231f20] text-base font-semibold uppercase leading-[3.125rem] w-[17.5rem] px-4 mt-2.5 ml-2 mr-2 md:hover:transition md:hover:bg-black md:hover:bg-black md:hover:text-white"},c(e.showLessText),1)):h("",!0),this.itemsToShowr.showMore&&r.showMore(...n)),class:"border border-[#231f20] rounded-md text-[#231f20] text-base font-semibold uppercase leading-[3.125rem] w-[17.5rem] px-4 mt-2.5 ml-2 mr-2 md:hover:transition md:hover:bg-black md:hover:bg-black md:hover:text-white"},c(e.showMoreText),1)):h("",!0),i("div",{class:"text-[#231f20] text-sm mt-3",innerHTML:this.showingOfText},null,8,Do),i("div",null,[i("progress",{class:"h-2.5 w-24 [&::-webkit-progress-bar]:bg-gdc-gray-250 [&::-webkit-progress-bar]:rounded-[3.125rem] [&::-webkit-progress-value]:bg-gdc-blue-600 [&::-webkit-progress-value]:rounded-[3.125rem]",value:this.itemsToShow,max:this.totalItems},null,8,Eo)])],8,Bo)):h("",!0)}const Y=_(Go,[["render",Po]]),Oo={name:"content-boxes",components:{ShowMoreShowLessPagination:Y},props:{title:{type:String},columns:{type:Number,default:3},items:{type:Array,required:!0},gtm:{type:String,default:"thumbnail-link"},pagination:{type:Object,default:()=>({enabled:!1,items_per_page:6})}},data(){return{paginatedItems:this.items,containerId:"site-brand-product-reviews-boxes-",parentConfig:{scrollOffset:70}}},mounted:function(){this.containerId+=Date.now(),this.parentConfig.id=this.containerId,this.pagination.scroll_offset_top&&(this.parentConfig.scrollOffset=this.pagination.scroll_offset_top)},methods:{itemsToShow(t){this.pagination.enabled?this.paginatedItems=this.items.slice(0,t):this.paginatedItems=this.items}}},jo=["id"],Ro=["href","data-gtm"],No=["src","alt"],zo={class:"text-center text-sm font-semibold leading-5 p-4"};function qo(t,s,e,u,l,r){const n=b("show-more-show-less-pagination");return o(),a("div",null,[i("h2",null,c(e.title),1),i("div",{id:l.containerId,class:m("grid gap-x-9 gap-y-4 grid-cols-1 sm:grid-cols-2 md:grid-cols-"+e.columns)},[(o(!0),a(x,null,w(l.paginatedItems,d=>(o(),a("div",{key:d.id,class:"border rounded-xl hover:transition-shadow hover:duration-500 hover:shadow-[0_0_20px_1px_rgba(181,181,181,1)]"},[i("a",{href:d.link,"data-gtm":e.gtm,class:"no-underline"},[i("img",{loading:"lazy",src:d.image,alt:d.title,class:"rounded-xl m-auto"},null,8,No),i("p",zo,c(d.title),1)],8,Ro)]))),128))],10,jo),e.pagination.enabled?(o(),C(n,{key:0,"total-items":e.pagination.total_items,"initial-items":e.pagination.initial_items,"items-per-page":e.pagination.items_per_page,"show-more-text":e.pagination.show_more_text,"show-less-text":e.pagination.show_less_text,"default-showing-of-text":e.pagination.showing_of,"parent-config":this.parentConfig,onUpdateItemsShowed:s[0]||(s[0]=d=>r.itemsToShow(d))},null,8,["total-items","initial-items","items-per-page","show-more-text","show-less-text","default-showing-of-text","parent-config"])):h("",!0)])}const Vo=_(Oo,[["render",qo]]),$o={name:"site-brand-product-reviews-boxes",components:{"show-more-show-less-pagination":Y},props:{title:{type:String},columns:{type:Number,default:3},items:{type:Array,required:!0},gtm:{type:String,default:""},pagination:{type:Object,default:()=>({enabled:!1,items_per_page:6})}},data(){return{paginatedItems:this.items,containerId:"site-brand-product-reviews-boxes-",parentConfig:{scrollOffset:70}}},mounted:function(){this.containerId+=Date.now(),this.parentConfig.id=this.containerId,this.pagination.scroll_offset_top&&(this.parentConfig.scrollOffset=this.pagination.scroll_offset_top)},methods:{itemsToShow(t){this.pagination.enabled?this.paginatedItems=this.items.slice(0,t):this.paginatedItems=this.items}}},Uo=["id"],Ho=["href","data-gtm"],Wo=["src","alt"],Jo={class:"flex items-center p-2 mt-2"},Zo=["src","alt"],Yo=["href"],Ko={class:"pl-5 text-xs text-black font-normal"},Xo={class:"p-2 mb-0 text-lg text-black font-normal"},Qo={class:"p-2 mb-0 text-base text-black font-normal"};function el(t,s,e,u,l,r){const n=b("show-more-show-less-pagination");return o(),a("div",null,[i("h2",null,c(e.title),1),i("div",{id:l.containerId,class:m("grid gap-x-11 gap-y-4 grid-cols-1 sm:grid-cols-2 md:grid-cols-"+e.columns)},[(o(!0),a(x,null,w(l.paginatedItems,d=>(o(),a("div",{key:d.id,class:"rounded-xl hover:transition-shadow hover:duration-500 hover:shadow-[0_0_20px_1px_rgba(181,181,181,0.8)]"},[i("a",{href:d.link,"data-gtm":e.gtm,class:"no-underline"},[i("img",{loading:"lazy",src:d.image,alt:d.title,class:"w-full rounded-xl"},null,8,Wo),i("div",Jo,[i("img",{src:d.author.image,alt:d.author.full_name,width:"32",height:"32"},null,8,Zo),i("a",{href:d.author.link,class:"pl-3 text-xs text-gdc-blue-600 font-normal"},c(d.author.full_name),9,Yo),i("span",Ko,c(d.time_to_read),1)]),i("p",Xo,c(d.title),1),i("p",Qo,c(d.description),1)],8,Ho)]))),128))],10,Uo),e.pagination.enabled?(o(),C(n,{key:0,"total-items":e.pagination.total_items,"initial-items":e.pagination.initial_items,"items-per-page":e.pagination.items_per_page,"show-more-text":e.pagination.show_more_text,"show-less-text":e.pagination.show_less_text,"default-showing-of-text":e.pagination.showing_of,"parent-config":this.parentConfig,onUpdateItemsShowed:s[0]||(s[0]=d=>r.itemsToShow(d))},null,8,["total-items","initial-items","items-per-page","show-more-text","show-less-text","default-showing-of-text","parent-config"])):h("",!0)])}const tl=_($o,[["render",el]]),sl={name:"ListSkeleton"},il={class:"max-w-md space-y-4 divide-y divide-gray-200 rounded animate-pulse"};function ol(t,s,e,u,l,r){return o(),a("div",il,s[0]||(s[0]=[V('
Loading...',6)]))}const ll=_(sl,[["render",ol]]),rl={name:"DefaultSkeleton"},al={role:"status",class:"max-w-sm animate-pulse"};function nl(t,s,e,u,l,r){return o(),a("div",al,s[0]||(s[0]=[i("div",{class:"h-2.5 bg-gdc-gray-250 rounded-full w-48 mb-4"},null,-1),i("div",{class:"h-2 bg-gdc-gray-250 rounded-full max-w-[360px] mb-2.5"},null,-1),i("div",{class:"h-2 bg-gdc-gray-250 rounded-full mb-2.5"},null,-1),i("span",{class:"sr-only"},"Loading...",-1)]))}const dl=_(rl,[["render",nl]]),cl={name:"PaginationSkeleton"},ul={role:"status",class:"max-w-sm animate-pulse col-span-full gap-0 mt-4 inline-flex flex-col self-center"};function hl(t,s,e,u,l,r){return o(),a("div",ul,s[0]||(s[0]=[i("div",{class:"h-2.5 bg-gdc-gray-250 rounded-full w-48 w-full mb-4"},null,-1),i("div",{class:"h-2.5 bg-gdc-gray-250 rounded-full w-48 w-full mb-4"},null,-1),i("span",{class:"sr-only"},"Loading...",-1)]))}const ml=_(cl,[["render",hl]]),gl={name:"ArticleCardSkeleton"},fl={role:"status",class:"max-w-sm p-1 rounded animate-pulse md:p-1"};function _l(t,s,e,u,l,r){return o(),a("div",fl,s[0]||(s[0]=[V('
Loading...',7)]))}const pl=_(gl,[["render",_l]]),bl={name:"Warning"},xl={class:"border-l-4 border-yellow-400 bg-yellow-50 p-4 h-fit"},wl={class:"flex"},vl={class:"ml-3"},yl={class:"text-sm text-yellow-700"};function kl(t,s,e,u,l,r){return o(),a("div",xl,[i("div",wl,[s[0]||(s[0]=i("div",{class:"flex-shrink-0"},[i("svg",{class:"h-5 w-5 text-yellow-400",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[i("path",{"fill-rule":"evenodd",d:"M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"})])],-1)),i("div",vl,[i("div",yl,[P(t.$slots,"default")])])])])}const K=_(bl,[["render",kl]]),Cl={name:"pagination",props:{maxVisibleButtons:{type:Number,required:!1,default:5},totalPages:{type:Number,required:!0},total:{type:Number,required:!0},perPage:{type:Number,required:!0},currentPage:{type:Number,required:!0},showFirstLastButtons:{type:Boolean,default:!0}},computed:{firstItem(){return(this.currentPage-1)*this.perPage+1},lastItem(){return this.isInLastPage?this.total:this.firstItem+this.perPage-1},startPage(){return this.currentPage===1?1:this.currentPage===this.totalPages&&this.totalPages>=this.maxVisibleButtons?this.totalPages-this.maxVisibleButtons+1:this.currentPage-1},endPage(){return Math.min(this.startPage+this.maxVisibleButtons-1,this.totalPages)},pages(){return this.fetchLinksWithClasses(this.currentPage,this.totalPages)},isInFirstPage(){return this.currentPage===1},isInLastPage(){return this.currentPage===this.totalPages},firstButtonText(){return window.translations.pagination.first||"First"},lastButtonText(){return window.translations.pagination.last||"Last"},outOfText(){return window.translations.pagination.out_of||"out of"}},methods:{getClassList(t){return{"bg-gdc-blue-600 text-white":this.isPageActive(t.label),"border-[#999999] text-[#999999] hover:!bg-white hover:!text-[#999999] hover:!cursor-defaults":typeof t.label=="string"||t.label instanceof String,"hidden lg:block":t.class==="hideMobile","block lg:hidden":t.class==="showMobileOnly"}},onClickFirstPage(){this.$emit("pagechanged",1)},onClickPreviousPage(){this.$emit("pagechanged",this.currentPage-1)},onClickPage(t){typeof t=="string"||t instanceof String||this.$emit("pagechanged",t)},onClickNextPage(){this.$emit("pagechanged",this.currentPage+1)},onClickLastPage(){this.$emit("pagechanged",this.totalPages)},isPageActive(t){return this.currentPage===t},fetchLinks(t=1,s=1){let e=[];if(s<=5){for(let l=1;l<=s;l+=1)e.push(l);return e}for(let l=1;l<=5;l+=1)e.push(l);let u=1;for(let l=1;l<=e.length;l++)switch(l){case 1:break;case 2:t-2===u?e[1]=t-1:t===1||t===2?e[1]=2:e[1]="...";break;case 3:t===s?e[2]=t-2:t===s-1?e[2]=t-1:t>u+1&&tu||t+2e[0]&&e[1]==="...",n=t+2=3;if(r){let d=!0,f=t-2,g=t-1;t-3>e[0]&&(d=!1),d&&e[1]==="..."&&(u[1].class="showMobileOnly");let p={class:l,label:f},S={class:l,label:g};t+1===s?u.splice(2,0,p):u.splice(2,0,p,S)}if(n){let d=!0,f=t+1,g=t+2;t+3(o(),a("li",{key:n.label+Math.random(),class:m(["!m-0 !mx-1 !p-0 !w-8 !h-8 leading-8 text-gdc-blue-600 border border-gdc-blue-600","rounded cursor-pointer text-center hover:bg-gdc-blue-600 hover:text-white",r.getClassList(n)]),onClick:d=>r.onClickPage(n.label)},c(n.label),11,Al))),128)),i("li",R(q(r.isInLastPage?{}:{click:r.onClickNextPage},!0),{class:"!m-0 !mx-1 !p-0 !w-4 !h-8 leading-8 inline-flex justify-center items-center"}),[(o(),a("svg",{class:m(["w-4 -rotate-90",{"text-gdc-blue-600 cursor-pointer":!r.isInLastPage,"text-[#999999]":r.isInLastPage}]),fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 10","aria-hidden":"true"},s[1]||(s[1]=[i("path",{d:"M15 1.2l-7 7-7-7","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]),2))],16)])])}const Il=_(Cl,[["render",Fl]]),Ml={props:{classList:{type:String,default:"relative"},value:{type:String},suggestions:{type:Array},placeholder:{type:String,default:"Search..."},label:{type:String,default:"title"}},computed:{matches(){return this.$emit("change",this.search),this.filterSuggestions()}},data(){return{showSuggestions:!0,search:"",searchTerm:""}},mounted(){document.addEventListener("click",t=>{this.$el.contains(t.target)||(this.showSuggestions=!1)})},methods:{inputValue(t){t.preventDefault(),this.search=t.target.value},filterSuggestions(){return this.search?this.showSuggestions?this.suggestions.filter(s=>s[this.label].toLowerCase().includes(this.search.toLowerCase())).sort((s,e)=>s[this.label].toLowerCase().indexOf(this.search.toLowerCase())e.id===t);this.search=s[this.label],this.showSuggestions=!1}}},Gl=["placeholder"],Bl={class:"!list-none max-w-max min-w-full !p-0 border border-gdc-gray-250 text-sm bg-white absolute z-[1] overflow-y-hidden !mt-0"},Dl=["onClick"],El={class:"block text-sm p-1"};function Pl(t,s,e,u,l,r){return o(),a("div",{class:m(["relative",this.classList])},[y(i("input",{class:"w-full p-2.5 pr-[35px] text-sm rounded-[5px] border-0 shadow outline-0 text-gray-900 placeholder:[#999999]",type:"text","onUpdate:modelValue":s[0]||(s[0]=n=>l.search=n),onFocus:s[1]||(s[1]=n=>l.showSuggestions=!0),placeholder:this.placeholder},null,40,Gl),[[T,l.search]]),s[2]||(s[2]=i("img",{class:"absolute top-[calc(50%-8.5px)] right-2",alt:"Search icon",src:"https://objects.kaxmedia.com/auto/o/139752/7900ca8f22.svg",width:"17",height:"17"},null,-1)),y(i("ul",Bl,[(o(!0),a(x,null,w(this.matches,(n,d)=>(o(),a("li",{class:"cursor-pointer !mb-0 hover:bg-[#C4C4C4] hover:text-white",key:d,onClick:f=>r.setSuggestion(n.id)},[i("span",El,c(n[e.label]),1)],8,Dl))),128))],512),[[A,this.showSuggestions&&this.matches.length>0]])],2)}const Ol=_(Ml,[["render",Pl]]),jl={name:"Accordion",props:{open:{Type:Boolean}},data(){return{isOpen:this.open}},methods:{toggleAccordion(){this.isOpen=!this.isOpen}}},Rl=["aria-expanded"],Nl={id:"collapse{{ $.uid }}"};function zl(t,s,e,u,l,r){return o(),a("div",null,[i("button",{"aria-expanded":this.isOpen,"aria-controls":"collapse{{ $.uid }}",onClick:s[0]||(s[0]=n=>r.toggleAccordion()),class:"w-full flex justify-between items-center relative"},[P(t.$slots,"title"),(o(),a("svg",{class:m(["h-2 absolute top-[7px] right-0 transition-all duration-200 transform",{"rotate-180":this.isOpen,"rotate-0":!this.isOpen}]),fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 10","aria-hidden":"true"},s[1]||(s[1]=[i("path",{d:"M15 1.2l-7 7-7-7","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]),2))],8,Rl),y(i("div",Nl,[P(t.$slots,"content")],512),[[A,this.isOpen]])])}const ql=_(jl,[["render",zl]]),Vl={name:"FilterGroup",components:{Accordion:ql},props:{filter:{type:Object}},methods:{toggleFilter(t){t.is_disabled||(t.is_active=!t.is_active),this.$emit("filtersListenerEvent")}}},$l={class:"!text-base !font-bold !pointer-events-none !leading-5 !m-0 !mb-2"},Ul={class:"!list-none !m-0 !p-0 !ps-0"},Hl=["data-attr-id"],Wl=["id","checked","onClick"],Jl=["for"];function Zl(t,s,e,u,l,r){const n=b("Accordion");return o(),C(n,{open:!0,role:"group",class:"mb-4 pb-3 border-b last:border-b-0"},{title:L(()=>[i("h3",$l,c(e.filter.label),1)]),content:L(()=>[i("ul",Ul,[(o(!0),a(x,null,w(e.filter.attributes,d=>(o(),a("li",{class:"!mb-0 inline-flex hover:cursor-pointer w-full","data-attr-id":d.id,key:d.id},[d.is_disabled?h("",!0):(o(),a("input",{key:0,id:`filter_attr_${d.id}`,type:"checkbox",checked:!d.is_disabled&&d.is_active,class:"w-4 h-4 accent-gdc-red-600 !border-black !rounded !focus:ring-0 hover:cursor-pointer",onClick:f=>r.toggleFilter(d)},null,8,Wl)),d.is_disabled?h("",!0):(o(),a("label",{key:1,for:`filter_attr_${d.id}`,class:"pl-1 text-sm text-black leading-4 hover:cursor-pointer"},c(d.name),9,Jl))],8,Hl))),128))])]),_:1})}const Yl=_(Vl,[["render",Zl]]),Kl={name:"ActiveFilters",props:{activeFilters:{type:Array}},data(){return{filters:[]}},computed:{clearLabelText(){var t,s;return((s=(t=window.translations)==null?void 0:t.slotGameFilters)==null?void 0:s.clear_label)||"CLEAR ALL"},filterLabelText(){var t,s;return((s=(t=window.translations)==null?void 0:t.slotGameFilters)==null?void 0:s.filter_label)||"Filter"}},methods:{clearFilters(){this.filters=this.filters.map(t=>(t.is_active=!1,t)),this.$emit("activeFiltersEvent")},toggleFilter(t){t.is_disabled||(t.is_active=!t.is_active),this.$emit("activeFiltersEvent")}},watch:{activeFilters(t){this.filters=t}}},Xl={class:"mt-1 mb-2 hidden md:flex justify-between border-b-1"},Ql={class:"text-sm font-semibold"},er={class:"w-full hidden sm:flex"},tr=["onClick"],sr={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 16 16",style:{margin:"-1px 0px 0px 1px"}};function ir(t,s,e,u,l,r){return o(),a("div",null,[i("div",Xl,[i("span",Ql,c(r.filterLabelText.toUpperCase()),1),this.activeFilters.length>0?(o(),a("button",{key:0,class:"text-sm font-semibold text-gdc-red-600 hover:text-[#999999]",onClick:s[0]||(s[0]=n=>r.clearFilters())},[i("span",null,c(r.clearLabelText),1)])):h("",!0)]),i("div",er,[i("ul",{class:m(["!list-none !m-0 !p-0 !ps-0 w-full",{"border-b border-black !mb-3":e.activeFilters.length>0}])},[(o(!0),a(x,null,w(e.activeFilters,n=>(o(),a("li",{class:"mb-2 px-2 py-1 inline-flex hover:cursor-pointer w-full bg-gdc-blue-600 rounded justify-between items-center text-white text-sm font-bold",key:n.id,onClick:d=>r.toggleFilter(n)},[k(c(n.name)+" ",1),(o(),a("svg",sr,s[1]||(s[1]=[i("path",{fill:"#fff",d:"M 15.96875 14.019531 L 9.847656 7.957031 L 15.90625 1.839844 L 14.019531 -0.03125 L 7.960938 6.089844 L 1.84375 0.03125 L -0.03125 1.902344 L 6.09375 7.972656 L 0.03125 14.097656 L 1.902344 15.96875 L 7.976562 9.839844 L 14.097656 15.90625 Z M 15.96875 14.019531"},null,-1)])))],8,tr))),128))],2)])])}const or=_(Kl,[["render",ir]]),lr={name:"FilterSubmit",props:{isActive:{type:Boolean,default:!1},activeFilters:{type:Array}},computed:{clearLabelText(){var t,s;return((s=(t=window.translations)==null?void 0:t.slotGameFilters)==null?void 0:s.clear_label)||"CLEAR ALL"},saveLabelText(){var t,s;return((s=(t=window.translations)==null?void 0:t.slotGameFilters)==null?void 0:s.save_label)||"Save"}},data(){return{filters:[]}},methods:{clearFilters(){this.filters=this.filters.map(t=>(t.is_active=!1,t)),this.$emit("activeFiltersEvent")}},watch:{activeFilters(t){this.filters=t}}};function rr(t,s,e,u,l,r){return o(),a("div",{class:m(["inline-flex justify-center items-center w-full",{hidden:!e.isActive}])},[i("div",{class:m(["p-1 px-2 m-2 mr-0 rounded border text-sm font-semibold justify-center",{"text-gdc-red-600 border-gdc-red-600":this.filters.length>0,"text-gdc-gray-250 border-gdc-gray-250":this.filters.length===0}]),onClick:s[0]||(s[0]=n=>r.clearFilters())},c(r.clearLabelText),3),i("div",{class:"p-1 px-2 m-2 mr-0 rounded border border-gdc-gray-1000 bg-gdc-gray-1000 text-sm text-white font-semibold justify-center",onClick:s[1]||(s[1]=n=>t.$emit("saveFilters"))},c(r.saveLabelText.toUpperCase()),1)],2)}const ar=_(lr,[["render",rr]]),nr={name:"filters",components:{autocomplete:Ol,ActiveFilters:or,FilterGroup:Yl,FilterSubmit:ar},props:{id:{type:String},classList:{type:String},initialFilters:{type:Array},articles:{type:Array},filterIcon:{type:String}},data(){return{filters:this.initialFilters,searchTerm:"",isActive:!1}},computed:{searchPlaceholderText(){var t,s;return((s=(t=window.translations)==null?void 0:t.siteArticleStrategyFilter)==null?void 0:s.search_placeholder)||"Search articles..."},filterLabelText(){var t,s;return((s=(t=window.translations)==null?void 0:t.slotGameFilters)==null?void 0:s.filter_label)||"Filter"},closeLabelText(){var t,s;return((s=(t=window.translations)==null?void 0:t.slotGameFilters)==null?void 0:s.close_label)||"Close"},activeFilters(){return this.filters.map(t=>t.attributes.filter(s=>s.is_active)).flat()},filteredArticles(){return this.articles.filter(t=>{let s=[];s=this.activeFilters.map(l=>!!t[l.attribute_type_id].includes(l.attribute_value));let e=s.includes(!0),u=this.searchTerm===""||typeof this.searchTerm!="string"?!0:t.title.toLowerCase().includes(this.searchTerm.toLowerCase());return this.activeFilters.length>0?e&&u:e||u})}},methods:{searchTermChange(t){this.searchTerm=t.target?t.target.value:t},activeFiltersListener(){this.$emit("inputf",this.filteredArticles)},filtersListener(){this.$emit("inputf",this.filteredArticles)},saveFilters(){this.isActive=!this.isActive},disableFilters(){this.filters=this.filters.map(t=>(t.attributes.forEach(s=>{s.is_disabled=this.filteredArticles.every(e=>!e[s.attribute_type_id].includes(s.attribute_value))}),t))}},watch:{initialFilters(t){this.filters=t},searchTerm(){this.$emit("inputf",this.filteredArticles)}}},dr=["id"],cr=["src"],ur={class:"pl-2"},hr={class:"inline-flex"},mr=["src"],gr={class:"pl-2 text-black"};function fr(t,s,e,u,l,r){const n=b("autocomplete"),d=b("ActiveFilters"),f=b("FilterGroup"),g=b("FilterSubmit");return o(),a("div",{id:this.id,class:m(["flex w-full",this.classList]),"data-inc":"GDC - Filters"},[v(n,{"class-list":"order-2 lg:order-none",suggestions:this.filteredArticles,modelValue:l.searchTerm,"onUpdate:modelValue":s[0]||(s[0]=p=>l.searchTerm=p),placeholder:r.searchPlaceholderText,onChange:r.searchTermChange},null,8,["suggestions","modelValue","placeholder","onChange"]),i("button",{class:"w-full p-1 mb-2 mt-2 rounded border border-black text-sm font-semibold inline-flex order-1 justify-center lg:hidden",onClick:s[1]||(s[1]=p=>{l.isActive=!0})},[i("img",{loading:"lazy",src:e.filterIcon,width:"22",height:"22",alt:"Filter Articles"},null,8,cr),i("span",ur,c(r.filterLabelText.toUpperCase()),1),i("span",null,"("+c(r.activeFilters.length)+")",1)]),v(d,{activeFilters:r.activeFilters,onActiveFiltersEvent:r.activeFiltersListener},null,8,["activeFilters","onActiveFiltersEvent"]),i("div",{class:m(["p-4 border-b w-full flex justify-between fixed left-0 top-0 z-[2001]","bg-gdc-gray-100 text-sm text-gdc-red-600",{hidden:!l.isActive}])},[i("div",hr,[i("img",{loading:"lazy",src:e.filterIcon,width:"22",height:"22",alt:"Filter Articles"},null,8,mr),i("span",gr,c(r.filterLabelText.toUpperCase()),1)]),i("div",{class:"inline-flex",onClick:s[2]||(s[2]=p=>l.isActive=!1)},[k(c(r.closeLabelText)+" ",1),s[3]||(s[3]=i("svg",{class:"ml-1 closeTooltip",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"24",height:"24",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 50 50"},[i("path",{d:"M37.304 11.282l1.414 1.414l-26.022 26.02l-1.414-1.413z",fill:"#FF0000"}),i("path",{d:"M12.696 11.282l26.022 26.02l-1.414 1.415l-26.022-26.02z",fill:"#FF0000"})],-1))])],2),i("div",{class:m(["w-full bg-white lg:block",{"fixed p-4 pt-20 z-[2000] h-vh top-0 left-0 right-0 bottom-0 overflow-y-auto":l.isActive,hidden:!l.isActive}])},[(o(!0),a(x,null,w(l.filters,p=>(o(),C(f,{key:p.id,filter:p,onFiltersListenerEvent:r.filtersListener},null,8,["filter","onFiltersListenerEvent"]))),128)),v(g,{activeFilters:r.activeFilters,isActive:l.isActive,onActiveFiltersEvent:r.activeFiltersListener,onSaveFilters:r.saveFilters},null,8,["activeFilters","isActive","onActiveFiltersEvent","onSaveFilters"])],2)],10,dr)}const _r=_(nr,[["render",fr]]),pr={components:{"gdc-img":I},name:"ArticleCard",props:{article:Object}},br={class:"!rounded-xl shadow-xl md:shadow-none hover:shadow-xl relative w-full h-full flex flex-col"},xr={class:"relative"},wr=["src","alt"],vr=["src","alt"],yr={key:1,class:"bg-black rounded-[10px] text-white text-xs px-2 py-1 absolute right-1 bottom-1"},kr={class:"w-full p-2 flex flex-row justify-between items-center text-xs"},Cr={class:"flex flex-row"},Sr=["href","title"],Lr={key:1,class:"text-black flex inline-flex items-center"},Tr={class:"flex flex-row"},Ar=["href","title"],Fr={class:"px-2 w-full flex flex-row text-black text-base leading-6"};function Ir(t,s,e,u,l,r){const n=b("gdc-img");return o(),a("div",br,[i("div",xr,[i("img",{loading:"lazy",src:e.article.img_thumb,alt:e.article.title,class:"rounded-[10px] !w-full object-cover aspect-article-thumb"},null,8,wr),e.article.label_type!==void 0?(o(),a("img",{key:0,loading:"lazy",src:e.article.feature_label_img,alt:e.article.label_type,class:"absolute left-2.5 top-2.5 z-10"},null,8,vr)):h("",!0),e.article.image_credits?(o(),a("div",yr," © "+c(e.article.image_credits),1)):h("",!0)]),i("div",kr,[i("div",Cr,[e.article.author_profile_link?(o(),a("a",{key:0,href:e.article.author_profile_link,title:e.article.author_name,class:"text-gdc-blue-600 hover:underline flex inline-flex items-center relative z-[1]"},[v(n,{"image-path":e.article.author_image_path,alt:e.article.author_name,"force-path":!0,class:"mr-1 w-[32px] h-[32px]"},null,8,["image-path","alt"]),k(" "+c(e.article.author_name),1)],8,Sr)):(o(),a("span",Lr,[v(n,{"image-path":e.article.author_image_path,alt:e.article.author_name,class:"mr-1",width:"32",height:"32"},null,8,["image-path","alt"]),k(" "+c(e.article.author_name),1)]))]),i("div",Tr,c(e.article.reading_time),1)]),i("a",{href:e.article.path,title:e.article.title,class:"px-2 flex flex-row w-full after:absolute after:inset-0 text-black text-lg"},c(e.article.title),9,Ar),i("p",Fr,c(e.article.short_description),1)])}const Mr=_(pr,[["render",Ir]]),Gr={components:{Filters:_r,ArticleCard:Mr,Pagination:Il,Warning:K,ListSkeleton:ll,DefaultSkeleton:dl,PaginationSkeleton:ml,ArticleCardSkeleton:pl},props:{scrollTo:{type:String},filterIcon:{type:String},geo:{type:String,default:"gb"}},data(){return{strategyArticles:[],filteredStrategyArticles:[],filters:[],perPage:9,currentPage:1,isLoading:!0}},async created(){this.getStrategyArticles()},computed:{endpoint(){let t=this.geo.replace("-","/");return this.geo==="gb"?"/uk/json-files/site-article-strategy.json":`/${t}/json-files/site-article-strategy.json`},articles(){let t=this.perPage*this.currentPage,s=t-this.perPage;return this.filteredStrategyArticles.slice(s,t)},articlesPerPage(){return Math.ceil(this.filteredStrategyArticles.length/this.perPage)},noArticlesLabel(){var t,s;return((s=(t=window.translations)==null?void 0:t.siteArticleStrategyFilter)==null?void 0:s.no_articles_found)||"No Articles Found..."}},methods:{changePage(t){this.currentPage=t,this.ktagRerender();let s=window.pageYOffset+document.getElementById(this.scrollTo).getBoundingClientRect().top-110;window.scrollTo({top:s})},async getStrategyArticles(){fetch(window.location.origin+this.endpoint).then(t=>t.json()).then(t=>{this.strategyArticles=t.articles,this.filteredStrategyArticles=t.articles,this.filters=t.filters,this.isLoading=!1,this.ktagRerender()})},getFilteredArticles(t){this.currentPage=1,this.filteredStrategyArticles=t,this.ktagRerender()},ktagRerender(){setTimeout(()=>{var t;return(t=window.ktag)==null?void 0:t.reRender()},500)}}},Br={class:"grid gap-4 sm:grid-cols-1 md:grid-cols-1 lg:grid-cols-[20%_80%] xl:grid-cols-[23%_75%]"},Dr={class:"w-full",id:"strategy-article-filters-container"},Er={class:"grid gap-4 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-[32.3%_32.3%_32.3%] xl:grid-cols-[32.3%_32.3%_32.3%]"};function Pr(t,s,e,u,l,r){const n=b("DefaultSkeleton"),d=b("ListSkeleton"),f=b("Filters"),g=b("ArticleCardSkeleton"),p=b("ArticleCard"),S=b("Warning"),F=b("PaginationSkeleton"),D=b("Pagination");return o(),a("div",Br,[i("div",Dr,[l.isLoading?(o(),C(n,{key:0,class:"mb-10"})):h("",!0),l.isLoading?(o(),C(d,{key:1,class:"hidden sm:block"})):h("",!0),l.isLoading?h("",!0):(o(),C(f,{key:2,id:"filter-sidebar","class-list":"automation-search-wrapper flex flex-col","initial-filters":this.filters,articles:this.strategyArticles,"filter-icon":this.filterIcon,onInputf:r.getFilteredArticles},null,8,["initial-filters","articles","filter-icon","onInputf"]))]),i("div",Er,[l.isLoading?(o(!0),a(x,{key:0},w(this.perPage,M=>(o(),C(g,{key:M}))),128)):h("",!0),!l.isLoading&&r.articles.length>0?(o(!0),a(x,{key:1},w(r.articles,M=>(o(),C(p,{key:M.id,article:M},null,8,["article"]))),128)):h("",!0),!l.isLoading&&r.articles.length===0?(o(),C(S,{key:2,class:"col-span-full gap-0 text-center"},{default:L(()=>[k(c(r.noArticlesLabel),1)]),_:1})):h("",!0),l.isLoading?(o(),C(F,{key:3,class:"col-span-full gap-0 w-full mx-auto"})):h("",!0),!l.isLoading&&r.articles.length>0?(o(),C(D,{key:4,class:"col-span-full gap-0","total-pages":this.articlesPerPage,total:this.filteredStrategyArticles.length,"per-page":this.perPage,"current-page":this.currentPage,onPagechanged:s[0]||(s[0]=M=>r.changePage(M))},null,8,["total-pages","total","per-page","current-page"])):h("",!0)])])}const Or=_(Gr,[["render",Pr]]),jr={name:"trust-signal-groups",props:{title:{type:String,default:"Licensing Authorities and Testing Agencies"},limit:{type:Number,default:5},orderBy:{type:String,default:"order"}},data(){return{trustGroupData:[]}},mounted(){$cookies.isKey("op_list_region_us")?this.state=$cookies.get("op_list_region_us"):this.state="nj",this.fetchAuthorities()},methods:{fetchAuthorities(){var t=this;this.loading=!0,this.trustGroupData=[];var s="/us/json-files/"+this.state.toLowerCase()+".json";fetch(s,{method:"GET"}).then(e=>e.json()).then(e=>{t.loading=!1,Array.isArray(e.trust_groups)?e.trust_groups[0]&&(t.trustGroupData=e.trust_groups[0].trust_signal_authorities):e.trust_groups!=null&&typeof e.trust_groups=="object"&&"trust_signal_authorities"in e.trust_groups&&(t.trustGroupData=e.trust_groups.trust_signal_authorities),t.trustGroupData.sort((u,l)=>u.order-l.order)}).catch(e=>{t.loading=!1,console.log(e)})}}},Rr={key:0,class:"text-center w-screen ml-[calc((100%_-_100vw)_/_2)] bg-[#ecedef] text-[#000000] overflow-auto my-5"},Nr={class:"mt-[48px] mb-[22px]"},zr={class:"automation-logo flex-row justify-content-center"},qr=["href"],Vr=["src","alt"];function $r(t,s,e,u,l,r){return l.trustGroupData.length?(o(),a("section",Rr,[i("h3",Nr,c(e.title),1),i("div",zr,[(o(!0),a(x,null,w(l.trustGroupData.slice(0,e.limit),n=>(o(),a("a",{class:"no-underline",key:n.authority.id,href:n.authority.website_url,target:"_blank"},[i("img",{loading:"lazy",class:"inline mt-0 mb-2.5 mx-2.5 w-[90px] min-[767px]:mb-[15px] min-[767px]:mx-[20px]",src:n.authority.image_url,alt:n.authority.name},null,8,Vr)],8,qr))),128))])])):h("",!0)}const Ur=_(jr,[["render",$r]]),Hr={name:"exit-link-button-elements",props:{offer:{type:Object,require:!0},state:{type:String,require:!1},cta:{type:String,require:!0},ctaLocation:{type:String,require:!0},gtm:{type:String,require:!0},css:{type:String,default:"btn-cta-play-now exit-page-link"}},data:function(){return{isValidDestinationLink:!1}},mounted:function(){this.fetchLink()},methods:{appendfragment:z,striptags:N,fetchLink(){if(this.isValidDestinationLink=!1,Object.keys(this.offer).length===0)return!1;this.isValidDestinationLink=this.offer.exit_link??!0},stripTags(t){return t.replace(/<\/?[^>]+>/ig,"")}},watch:{state(){this.fetchLink()}}},Wr=["href","data-gtm","data-ctalocation","data-operator","data-product","data-offer","data-brand_id","data-brand_product_id","data-offer_id","data-site_offer_id"];function Jr(t,s,e,u,l,r){return t.isValidDestinationLink?(o(),a("a",{key:0,class:m("automation-play-now-cta "+e.css),rel:"nofollow",target:"_blank",href:r.appendfragment(e.offer.exit_link,"cta",e.cta),"data-gtm":e.gtm,"data-kt":"cta:a|ctalocation|operator|product|offer|brand_id|brand_product_id|offer_id|site_offer_id","data-ctalocation":e.ctaLocation,"data-operator":e.offer.brand.name,"data-product":e.offer.brand_product.name,"data-offer":r.stripTags(e.offer.offer.description),"data-brand_id":e.offer.brand.id,"data-brand_product_id":e.offer.brand_product.id,"data-offer_id":e.offer.offer.id,"data-site_offer_id":e.offer.site_offer.id},[P(t.$slots,"default")],10,Wr)):h("",!0)}const j=_(Hr,[["render",Jr]]),Zr={name:"slot-comparison-tool",components:{ExitLinkButtonElements:j},props:{numberOfItemsToCompare:{type:Number,require:!1,default:3},currency:{type:String,require:!0},resizer:{type:String,require:!0},images:{type:Object,require:!0},translations:{type:Object,require:!0},attributeTypesMap:{type:Array,require:!0},tooltipIconDown:{type:String,required:!0},tooltipIconUp:{type:String,required:!0}},data:function(){return{slotsToCompare:[],disabledAllCheckbox:!1,modalId:"slot-comparison-modal",compareBarId:"slot-comparison-bar",slotListId:"slot-games",isModalOpen:!1,showSlotsToCompareInMobile:!1,geo,events:{toggleCompareCheckBoxes:new CustomEvent("update-compare-checkboxes",{detail:{disable:!1}}),clearCompareList:new CustomEvent("reset-slot-compare"),removeCompareChild:new CustomEvent("remove-from-compare-child",{detail:{slotId:null}}),recheckCompareItems:new CustomEvent("recheck-compare-items",{detail:{slots:this.slotsToCompare}})},compareBarHidden:!1}},mounted:function(){this.setupListeners(),this.toggleCompareBarVisibility()},computed:{getEmptyCompareSlots(){return this.numberOfItemsToCompare-this.slotsToCompare.length},getComparisonToolText(){return this.translations.comparison_tool_text[this.slotsToCompare.length]},getAttributeTypes(){return this.slotsToCompare.length<=1?[]:this.attributeTypesMap.map(t=>{const s={attribute_name:this.translations[t.name],attribute_types:[]};return this.slotsToCompare.forEach(e=>{const u=e.game.attributes.find(r=>r.attribute_type_id===t.id);let l=u&&u.value?u.value:null;t.format==="Currency"&&(l=l?this.currency+l:null),t.handle==="Option"&&l!==null&&(l=u.options[l]),s.attribute_types.push({attribute_id:t.id,name:this.translations[t.name],data_type:t.format,display_value:l})}),s})}},methods:{setupListeners(){window.addEventListener("add-to-compare",t=>{this.slotsToCompare.length{this.removeFromCompare(t.detail.slotGame.id,!0)}),window.addEventListener("page-change-compare",()=>{this.events.recheckCompareItems.detail.slots=this.slotsToCompare,window.dispatchEvent(this.events.recheckCompareItems);const t=this.slotsToCompare.length===this.numberOfItemsToCompare;this.toggleCompareCheckBoxes(t),this.disabledAllCheckbox=t})},removeFromCompare(t,s=!1){this.slotsToCompare=this.slotsToCompare.filter(u=>u.id!==t);const e=this.slotsToCompare.length{l.disabled=s,l.classList.remove(u),l.classList.add(e)})},getResizerURL(t,s=150,e=100,u="auto"){return`${this.resizer}/image/w=${s},h=${e},format=${u}/${t}`},toggleSlotsToCompareListOnMobile(){this.showSlotsToCompareInMobile=!this.showSlotsToCompareInMobile},toggleCompareBarVisibility(t=!1){const s=document.getElementById(this.compareBarId),e=this.slotsToCompare.length>0;t&&e?(this.compareBarHidden=!this.compareBarHidden,s.classList.toggle("hidden",this.compareBarHidden),s.classList.toggle("flex",!this.compareBarHidden)):(this.compareBarHidden=!e,s.classList.toggle("hidden",!e),s.classList.toggle("flex",e))},toggleModalVisibility(t){t=="close"?(MicroModal.close(this.modalId),this.isModalOpen=!1):(MicroModal.show(this.modalId),ktag.reRender("#"+this.modalId),this.isModalOpen=!0)}}},Yr=["id"],Kr=["src"],Xr={class:"hidden min-[660px]:flex items-center space-x-4"},Qr={class:"relative w-14 h-9"},ea=["src","alt"],ta=["src","onClick"],sa=["innerHTML"],ia={class:"flex flex-col w-full min-[660px]:w-auto"},oa={class:"hidden min-[660px]:flex justify-around"},la={class:"relative mr-4 w-12 h-12"},ra=["src"],aa=["innerHTML"],na=["innerHTML"],da=["innerHTML"],ca={class:"basis-1/4"},ua=["src","alt"],ha=["innerHTML"],ma={class:"flex basis-1/4 justify-end"},ga=["src","onClick"],fa={key:0,class:"flex min-[660px]:hidden p-4 items-center gap-3"},_a=["src"],pa=["innerHTML"],ba={key:1,class:"flex min-[660px]:hidden justify-around pt-3 pb-6"},xa=["src"],wa=["innerHTML"],va=["innerHTML"],ya=["innerHTML"],ka={class:"fixed bottom-0 w-full md:max-w-[750px] min-[992px]:max-w-[1000px] min-[1140px]:max-w-[100%] min-[1220px]:max-w-[1200px] text-right bg-none"},Ca=["src"],Sa=["id"],La={class:"h-full",tabindex:"-1"},Ta={class:"relative m-auto mt-12 w-[90%] h-[90%] bg-white rounded-lg",role:"dialog","aria-modal":"true"},Aa={class:"pb-2.5 h-full overflow-scroll"},Fa={class:"pb-[20px] sticky top-0 bg-white z-[9999]"},Ia={class:"flex justify-end items-center mb-6 px-2.5 pt-2.5"},Ma=["src"],Ga={class:"relative md:m-auto"},Ba=["src","alt"],Da=["href"],Ea=["src","alt"],Pa=["src","onClick"],Oa={class:"flex justify-center items-start h-full"},ja=["id","value","onClick"],Ra=["for","innerHTML"],Na={class:"overflow-y-auto operator-list px-2.5"},za={class:"uppercase text-white text-base font-semibold whitespace-nowrap"},qa=["href"],Va={class:"uppercase text-white text-base font-semibold whitespace-nowrap"},$a={class:"flex flex-col gap-1 mt-2.5"},Ua=["id"],Ha={class:"flex flex-col gap-1"},Wa=["innerHTML"],Ja={key:0},Za=["src"],Ya=["src"],Ka=["innerHTML"];function Xa(t,s,e,u,l,r){const n=b("exit-link-button-elements");return o(),a("div",null,[i("div",{id:this.compareBarId,class:"hidden items-center justify-between bg-white rounded-t shadow-[0px_0px_4px_0px_rgba(0,0,0,0.25)] z-10 min-[660px]:p-8 fixed bottom-0 left-2/4 -translate-x-2/4 translate-y-0 w-full md:max-w-[750px] min-[992px]:max-w-[1000px] min-[1140px]:max-w-[100%] min-[1220px]:max-w-[1200px]"},[i("button",{class:"absolute top-[-28px] right-[7%] lg:right-[54px] flex justify-center bg-white border-b-0 w-11 h-7 rounded-t shadow-[0px_-1px_2px_0px_rgba(0,0,0,0.25)]",onClick:s[0]||(s[0]=d=>this.toggleCompareBarVisibility(!0))},[i("img",{loading:"lazy",class:"max-w-full h-auto",src:e.tooltipIconDown},null,8,Kr)]),i("div",Xr,[(o(!0),a(x,null,w(this.slotsToCompare,d=>(o(),a("div",{key:d.id,class:"w-14 h-9"},[i("div",Qr,[i("img",{class:"rounded",src:d.images.main,alt:d.short_title,width:"56",height:"36"},null,8,ea),i("input",{class:"absolute top-[-8px] right-[-10px]",width:"16",height:"16",type:"image",alt:"Remove brand",src:e.images.close_circle_black,onClick:f=>r.removeFromCompare(d.id)},null,8,ta)])]))),128)),(o(!0),a(x,null,w(this.getEmptyCompareSlots,d=>(o(),a("div",{key:d,class:"border border-gdc-blue-600 border-dashed rounded bg-[rgba(1,87,255,0.03)] w-14 h-9"}))),128)),i("div",{class:"font-normal text-sm text-[#515260]",innerHTML:this.getComparisonToolText},null,8,sa)]),i("div",ia,[i("div",oa,[i("div",la,[i("img",{src:e.images.slots_attribute,width:"48",height:"48"},null,8,ra),i("div",{class:"flex justify-center items-center absolute top-[-4px] right-[-6px] w-5 h-5 text-white font-bold text-[12px] text-center bg-gdc-blue-600 rounded-full",innerHTML:this.slotsToCompare.length},null,8,aa)]),i("button",{class:"slots-compare-button text-white text-lg text-center font-medium bg-[#E1A7304D] rounded py-2.5 px-14",disabled:"",onClick:s[1]||(s[1]=d=>r.toggleModalVisibility("open")),innerHTML:e.translations.compare_button},null,8,na),i("button",{class:"oplist-clear-compare-button text-gdc-gray-900 text-lg text-center font-medium py-2.5 px-5",onClick:s[2]||(s[2]=d=>r.clearCompareList()),innerHTML:e.translations.clear_button},null,8,da)]),(o(!0),a(x,null,w(this.slotsToCompare,d=>(o(),a("div",{class:m(["offer-to-compare-mobile bg-white justify-center items-center border-b-[1px] border-solid border-gdc-gray-450 p-4",this.showSlotsToCompareInMobile?"flex":"hidden"]),key:d.id},[i("div",ca,[i("img",{class:"m-auto rounded-lg",src:d.images.main,alt:d.short_title,width:"94",height:"63"},null,8,ua)]),i("div",{class:"basis-1/2 text-base text-black text-center font-medium",innerHTML:d.short_title},null,8,ha),i("div",ma,[i("input",{width:"16",height:"16",type:"image",alt:"Remove brand",src:e.images.close_circle_black,onClick:f=>r.removeFromCompare(d.id)},null,8,ga)])],2))),128)),this.slotsToCompare.length==0?(o(),a("div",fa,[i("img",{src:e.images.comparison_offer_skeleton,alt:"Offer Placeholder",width:"60",height:"40"},null,8,_a),i("div",{class:"font-normal text-sm text-[#515260]",innerHTML:this.getComparisonToolText},null,8,pa)])):(o(),a("div",ba,[i("div",{class:"relative mr-4 w-12 h-12",onClick:s[3]||(s[3]=d=>r.toggleSlotsToCompareListOnMobile())},[i("img",{src:e.images.slots_attribute,width:"48",height:"48"},null,8,xa),i("div",{class:"flex justify-center items-center absolute top-[-4px] right-[-6px] w-5 h-5 text-white font-bold text-[12px] text-center bg-gdc-blue-600 rounded-full",innerHTML:this.slotsToCompare.length},null,8,wa)]),i("button",{class:"slots-compare-button text-white text-lg text-center font-medium bg-[#E1A7304D] rounded py-2.5 px-14",disabled:"",onClick:s[4]||(s[4]=d=>r.toggleModalVisibility("open")),innerHTML:e.translations.compare_button},null,8,va),i("button",{class:"oplist-clear-compare-button text-gdc-gray-900 text-lg text-center font-medium py-2.5 px-5",onClick:s[5]||(s[5]=d=>r.clearCompareList()),innerHTML:e.translations.clear_button},null,8,ya)]))])],8,Yr),y(i("div",ka,[i("button",{class:"flex items-center justify-center bg-white ml-auto mr-10 lg:mr-24 border-b-0 rounded-t shadow-[0px_-1px_2px_0px_rgba(0,0,0,0.25)] w-11 h-7",onClick:s[6]||(s[6]=d=>this.toggleCompareBarVisibility(!0))},[i("img",{loading:"lazy",class:"max-w-full h-auto",src:e.tooltipIconUp},null,8,Ca)])],512),[[A,t.compareBarHidden&&this.slotsToCompare.length]]),i("div",{id:this.modalId,class:"modal micromodal-slide !fixed z-[1050] w-full h-full overflow-hidden hidden left-0 top-0 shadow-none p-0 outline-none"},[i("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",onClick:s[7]||(s[7]=d=>r.toggleModalVisibility("close"))}),i("div",La,[i("div",Ta,[i("main",Aa,[i("div",Fa,[i("div",Ia,[i("button",{class:"text-[12px] text-gdc-blue-600 font-normal","aria-label":"Close modal",onClick:s[8]||(s[8]=d=>r.toggleModalVisibility("close"))},[k(c(e.translations.close)+" ",1),i("img",{class:"inline-flex align-middle ml-1.5",src:e.images.close_circle_blue,alt:"Close modal",width:"16",height:"16"},null,8,Ma)])]),i("div",{class:m(["operator-list grid gap-2 px-2.5","grid-cols-"+this.slotsToCompare.length])},[(o(!0),a(x,null,w(this.slotsToCompare,d=>(o(),a("div",{key:"slot-info-"+d.id,class:"flex flex-col gap-y-3 operator-item"},[i("div",Ga,[d.offer&&t.geo!=="GR"?(o(),C(n,{key:0,offer:d.offer,cta:"slot_game_list_"+d.order,"cta-location":"slot_game_compare_"+d.order,gtm:"slot_game_list_cta "+d.offer.brand.name+" pos="+d.order,css:"exit-click-cta exit-page-link"},{default:L(()=>[i("img",{class:"w-[80%] md:w-full m-auto rounded-[10px]",src:r.getResizerURL(d.images.main,260,162.842),alt:d.short_title,width:"260",height:"162.842"},null,8,Ba)]),_:2},1032,["offer","cta","cta-location","gtm"])):(o(),a("a",{key:1,class:"exit-page-link",rel:"nofollow",target:"_blank",href:d.review_link},[i("img",{class:"w-[80%] md:w-full m-auto rounded-[10px]",src:r.getResizerURL(d.images.main,260,162.842),alt:d.short_title,width:"260",height:"162.842"},null,8,Ea)],8,Da)),i("input",{class:"absolute top-[-6px] right-[5px] sm:right-[16px] md:right-[-8px]",width:"16",height:"16",type:"image",alt:"Remove brand",src:e.images.close_circle_black,onClick:f=>r.removeFromCompare(d.id)},null,8,Pa)]),i("div",Oa,[i("input",{id:"slot-modal-compare-checkbox-"+d.id,type:"checkbox",checked:"",class:"rounded border-gdc-blue-600 focus:ring-0 focus:ring-offset-0",value:d.id,onClick:f=>r.removeFromCompare(d.id)},null,8,ja),i("label",{for:"slot-modal-compare-checkbox-"+d.id,class:"text-sm text-gdc-blue-600 font-normal leading-5 pl-2 cursor-pointer",innerHTML:d.short_title},null,8,Ra)])]))),128))],2)]),i("div",Na,[i("div",{class:m(["grid gap-2","grid-cols-"+this.slotsToCompare.length])},[(o(!0),a(x,null,w(this.slotsToCompare,d=>(o(),a("div",{key:"slot-info-"+d.id,class:"flex flex-col gap-y-3 operator-item"},[i("div",null,[d.offer&&t.geo!=="GR"?(o(),C(n,{key:0,offer:d.offer,cta:"slot_game_list_"+d.order,"cta-location":"slot_game_compare_"+d.order,gtm:"slot_game_list_cta "+d.offer.brand.name+" pos="+d.order,css:"exit-click-cta exit-page-link bg-gdc-blue-600 block text-center rounded p-1 md:py-2.5 md:px-4"},{default:L(()=>[i("span",za,c(e.translations.cta_button),1)]),_:2},1032,["offer","cta","cta-location","gtm"])):(o(),a("a",{key:1,class:"exit-page-link bg-gdc-blue-600 block text-center rounded p-1 md:py-2.5 md:px-4",rel:"nofollow",target:"_blank",href:d.review_link},[i("span",Va,c(e.translations.cta_button),1)],8,qa))])]))),128))],2),i("div",$a,[(o(!0),a(x,null,w(this.getAttributeTypes,(d,f)=>(o(),a("div",{class:"flex flex-col gap-2 justify-center",key:d.attribute_name},[i("div",{id:"category-container-"+f,class:"flex flex-col gap-1.5"},[i("div",Ha,[i("div",{class:"text-sm text-gdc-gray-900 text-center font-medium bg-[#9999991A] rounded-[100px] p-2",innerHTML:d.attribute_name},null,8,Wa),i("div",{class:m(["grid gap-1.5","grid-cols-"+this.slotsToCompare.length])},[(o(!0),a(x,null,w(d.attribute_types,(g,p)=>(o(),a("div",{class:"w-full rounded text-center bg-[#F5F9FC] font-bold text-sm py-2.5 px-4",key:p},[g.display_value?g.data_type=="Boolean"&&g.display_value=="1"?(o(),a("img",{key:1,class:"m-auto",src:e.images.tick_circle_black,width:"24",height:"24"},null,8,Za)):g.data_type=="Boolean"&&g.display_value=="0"?(o(),a("img",{key:2,class:"m-auto",src:e.images.close_circle_black,width:"24",height:"24"},null,8,Ya)):(o(),a("span",{key:3,innerHTML:g.display_value},null,8,Ka)):(o(),a("span",Ja," - "))]))),128))],2)])],8,Ua)]))),128))])])])])])],8,Sa)])}const Qa=_(Zr,[["render",Xa]]),en=X({components:{Carousel:pe,Slide:_e,Navigation:fe,"gdc-img":I},props:{items:{type:Array,required:!0}},data:()=>({settings:{itemsToShow:2,snapAlign:"start"},breakpoints:{768:{itemsToShow:4,snapAlign:"start"}}}),methods:{onSlideClick:function(t){window.location.href=t.pageUrl}}}),tn={class:"my-5"},sn={class:"carousel__item border rounded-[10px] pb-6"},on={class:"carousel__text py-2"};function ln(t,s,e,u,l,r){const n=b("gdc-img"),d=b("Slide"),f=b("navigation"),g=b("Carousel");return o(),a("div",tn,[v(g,R(t.settings,{breakpoints:t.breakpoints,wrapAround:!0,transition:500}),{addons:L(()=>[v(f)]),default:L(()=>[(o(!0),a(x,null,w(t.items,(p,S)=>(o(),C(d,{key:S,onClick:F=>t.onSlideClick(p)},{default:L(()=>[i("div",sn,[v(n,{class:"align-top inline-block text-center rounded-t-[10px] shadow-[0_0_16px_0_rgba(0,0,0,0.16)] mb-6",image:p.image,alt:p.featureName},null,8,["image","alt"]),i("div",on,[i("span",null,c(p.featureName),1)])])]),_:2},1032,["onClick"]))),128))]),_:1},16,["breakpoints"])])}const rn=_(en,[["render",ln]]),an={name:"slot-game-overlay",components:{ExitLinkButtonElements:j},props:{slotGame:{type:Object,default:null},geo:{type:String,default:"gb"},userId:{type:String,default:null},buttonDemo:{type:String,default:"Play Demo"},buttonReal:{type:String,default:"Play for Real"},isFreeSlotGame:{type:Boolean,default:!1},isTouchDevice:{type:Boolean,default:!1}},emits:["openSlotGameDemoModal"],computed:{hasExitLinks(){return!(this.geo==="gr"||this.geo==="us"||this.isFreeSlotGame)},displayOverlay(){return!((this.geo==="gr"||this.geo==="us")&&!this.slotGame.demo_url)}},methods:{triggerSlotGameDemoModal(){if(this.userId)this.$emit("openSlotGameDemoModal");else{const t=document.querySelector('[data-custom-open-supabase="modal-authentication"]');t&&t.dispatchEvent(new Event("click"))}}}},nn={key:0,id:"slotGameOverlay",class:"absolute inset-0 bg-black bg-opacity-66 opacity-0 group-hover:opacity-[66%] group-focus:opacity-[66%] transition-opacity duration-300 z-10 flex flex-col gap-[14.5px] rounded-[10px]"},dn={class:"slot-link-overlay absolute inset-0 opacity-0 bg-opacity-100 group-hover:opacity-[100%] group-focus:opacity-[100%] transition-opacity duration-300 z-10 flex flex-col justify-center items-center rounded-[10px]"},cn=["id"];function un(t,s,e,u,l,r){const n=b("exit-link-button-elements");return o(),a(x,null,[r.displayOverlay&&!e.isTouchDevice?(o(),a("div",nn)):h("",!0),i("div",dn,[e.slotGame.demo_url&&!e.isTouchDevice?(o(),a("button",{key:0,id:`slot-game-overlay-play-demo-${e.slotGame.id}`,onClick:s[0]||(s[0]=(...d)=>r.triggerSlotGameDemoModal&&r.triggerSlotGameDemoModal(...d)),class:m(["play-demo-button h-[36.5px] w-[170px] md:w-[182px] flex justify-center items-center px-2 rounded-[3px] border border-solid border-[#E5E7EB] text-white text-center text-[15px] font-semibold opacity-100 text-nowrap bg-opacity-100 capitalize cursor-pointer",r.hasExitLinks?"mb-3":""])},c(e.buttonDemo),11,cn)):h("",!0),r.hasExitLinks&&!e.isTouchDevice?(o(),C(n,{key:1,offer:e.slotGame.offer,cta:"slot_game_list_"+e.slotGame.order,"cta-location":"slot_game_list_"+e.slotGame.order,gtm:"slot_game_list_cta "+e.slotGame.offer.brand.name+" pos="+e.slotGame.order,css:"automation-play-now-cta exit_pop_offer_cta exit-page-link operator-item-link h-[36.5px] w-[170px] md:w-[182px] px-2 flex justify-center items-center rounded-[3px] border border-solid border-[#E5E7EB] text-white text-center text-[15px] font-semibold opacity-100 text-nowrap cursor-pointer bg-gdc-blue-600 hover:bg-gdc-blue-700 bg-opacity-100 capitalize"},{default:L(()=>[k(c(e.buttonReal),1)]),_:1},8,["offer","cta","cta-location","gtm"])):h("",!0)])],64)}const hn=_(an,[["render",un],["__scopeId","data-v-5e099d34"]]),mn={name:"slot-game-demo-modal",components:{"age-checker-gb-tw":U,ExitLinkButtonElements:j},props:{modalVisible:{type:Boolean,default:!1},slotGame:{type:Object,default:null},geo:{type:String,default:"gb"},ageCheckerEnvs:{type:Object,default:null},isFreeSlotGame:{type:Boolean,default:!1},isToucheDevice:{type:Boolean,default:!1},buttonLabels:{type:Object,default:null,required:!0}},data(){return{playFreeDemo:!1,ageVerified:!1,isFocused:!1}},computed:{complianceCheck(){return this.isFreeSlotGame||this.geo==="us"||this.geo==="gr"}},methods:{triggerCloseModal(){this.playFreeDemo=!1,this.$emit("closeSlotDemo")},handleAgeCheckerVerification(t){this.ageVerified=t}}},gn={class:"modal-dialog !w-full lg:!w-[970px] max-h-fit overflow-y-auto sticky top-4 mt-[50px]",role:"document"},fn={class:"modal-header"},_n={key:0},pn={class:"automation-title float-left text-lg leading-[27px] max-[991px]:text-[17px] max-[580px]:float-none"},bn={key:1,class:"game-demo-header-mobile flex items-center"},xn={class:"mx-auto"},wn=["src"],vn={class:"absolute right-1"},yn=["src"],kn={id:"slot-demo-overlay",class:"absolute w-full h-full border-[none] inset-0"},Cn=["src"],Sn={key:0,class:"play-demo-element flex justify-center items-center absolute inset-0",style:{"background-color":"rgba(0, 0, 0, 0.6)"}},Ln={class:"demo-text w-full text-white text-lg text-center leading-[30px] mt-6 underline"},Tn={class:"demo-text w-full text-white text-lg leading-[30px] text-center no-underline"},An={key:1},Fn={key:0,class:"demo-slot-play-button-mobile flex flex-col items-center justify-center"},In=["src"],Mn={class:"demo-text w-full text-white text-[18px] text-center leading-6 font-semibold mt-2"},Gn=["src"],Bn={key:0,class:"demo-modal-mobile-action-buttons"},Dn={class:"automation-title title font-bold text-[18px] leading-6 h-[37px] py-2"},En={class:"text-black no-underline"},Pn={key:0},On=["href"],jn={key:0},Rn=["src"],Nn={key:1},zn=["src"],qn={class:"text font-semibold text-base leading-[50px] uppercase mt-1"},Vn={key:1},$n=["src"],Un={class:"text font-semibold text-base leading-[50px] uppercase mt-1"};function Hn(t,s,e,u,l,r){const n=b("age-checker-gb-tw"),d=b("exit-link-button-elements");return y((o(),a("div",{id:"slot-game-demo-modal",class:m(["flex justify-center fixed left-0 top-0 z-[1050] h-full w-full overflow-auto max-w-[100vw] lg:max-w-full",e.isToucheDevice?"items-end pb-1":"items-center"]),tabindex:"-1",role:"dialog"},[s[7]||(s[7]=i("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"},null,-1)),i("div",gn,[i("div",{class:m(["modal-content z-[1049] relative bg-white shadow-xl",e.isToucheDevice?"rounded-t-lg":"rounded-lg"])},[i("div",fn,[e.isToucheDevice?h("",!0):(o(),a("button",{key:0,type:"button",class:"text-gray-500 text-[35px] font-thin absolute top-2 right-2 outline-none",onClick:s[0]||(s[0]=(...f)=>r.triggerCloseModal&&r.triggerCloseModal(...f))},s[5]||(s[5]=[i("span",{"aria-hidden":"true"},"×",-1)])))]),i("div",{class:m(["modal-body",e.isToucheDevice?"px-2.5 pb-2.5":""])},[i("div",{class:m(["game-demo-header w-full font-bold text-sm rounded-t-lg after:content-[''] after:table after:clear-both",e.isToucheDevice?"bg-white p-4":"bg-[#e2e1e1] p-5"])},[e.isToucheDevice?(o(),a("div",bn,[i("span",xn,[i("img",{class:"w-[60px]",src:e.slotGame.images.lineMobile,alt:"Horizontal line Icon"},null,8,wn)]),i("span",vn,[i("img",{class:"hw-5 h-5",src:e.slotGame.images.closeMobile,alt:"Close button icon mobile",onClick:s[1]||(s[1]=(...f)=>r.triggerCloseModal&&r.triggerCloseModal(...f))},null,8,yn)])])):(o(),a("div",_n,[i("div",pn,c(e.slotGame.title),1)]))],2),i("div",{class:m(["game-container relative w-full overflow-hidden pt-[56.25%]",e.isToucheDevice?"rounded-[10px]":""])},[i("div",kn,[i("img",{class:"w-full h-full",src:e.slotGame.images.main,alt:"Slot Game Image"},null,8,Cn),e.geo==="gb"&&!l.ageVerified?(o(),a("div",Sn,[v(n,{ref:"AgeCheckerComp",url:e.ageCheckerEnvs.agechecked_url,merchantkey:e.ageCheckerEnvs.agechecked_key,demotext:e.buttonLabels.demo_text,demoplay:e.buttonLabels.demo_play,disablemodal:"true","age-checker-verified":l.ageVerified,"onUpdate:ageCheckerVerified":s[2]||(s[2]=f=>l.ageVerified=f)},null,8,["url","merchantkey","demotext","demoplay","age-checker-verified"])])):(o(),a("div",{key:1,class:"play-demo-element flex justify-center items-center absolute inset-0",style:E(e.slotGame.demo_url?"background-color: rgba(0, 0, 0, 0.6)":""),onClick:s[3]||(s[3]=f=>l.playFreeDemo=!0)},[e.isToucheDevice?(o(),a("div",An,[e.slotGame.demo_url?(o(),a("div",Fn,[i("span",null,[i("img",{class:"w-14 h-14",src:e.slotGame.images.playDemoMobileWhite,alt:"Play Free Demo Icon",width:"56",height:"56"},null,8,In)]),i("div",Mn,c(e.buttonLabels.play_free_game_demo),1)])):h("",!0)])):(o(),a("div",{key:0,class:m(["play-demo absolute w-full h-full text-center text-xl text-white flex flex-col items-center justify-center rounded-[0_0_10px_10px] top-0 hover:no-underline",e.slotGame.demo_url?"cursor-pointer":"cursor-default"])},[s[6]||(s[6]=i("div",null,[i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",class:"m-auto"},[i("path",{class:"hover:fill-gdc-blue-700","fill-rule":"evenodd","clip-rule":"evenodd",d:"M25 49.6667C11.3975 49.6667 0.333336 38.6003 0.333336 25C0.333336 11.3974 11.3975 0.333328 25 0.333328C38.6025 0.333328 49.6667 11.3974 49.6667 25C49.6667 38.6003 38.6025 49.6667 25 49.6667Z",fill:"#0157FF"}),i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.0303 15.2439C16.0303 14.8134 16.1649 14.477 16.4272 14.2304C16.6941 13.9859 17.017 13.8424 17.4005 13.7998C17.7862 13.755 18.1606 13.8379 18.5262 14.0465L35.4071 23.7113C35.9363 24.0073 36.2054 24.4401 36.2122 25.0097C36.2166 25.5815 35.9498 26.0121 35.4071 26.3081L18.5262 35.9348C18.1606 36.1568 17.7862 36.2442 17.4005 36.2016C17.017 36.159 16.6941 36.0155 16.4272 35.7688C16.1649 35.5244 16.0303 35.1925 16.0303 34.7754V15.2439Z",fill:"white"})])],-1)),i("div",Ln,c(e.buttonLabels.demo_play),1),i("div",Tn,c(e.buttonLabels.demo_text),1)],2))],4))]),l.playFreeDemo?(o(),a("iframe",{key:0,class:"game-demo absolute w-full h-full border-[none] inset-0",src:e.slotGame.demo_url},null,8,Gn)):h("",!0)],2),e.isToucheDevice?(o(),a("div",Bn,[i("div",Dn,[i("span",En,c(e.slotGame.short_title),1)]),e.slotGame.review_link?(o(),a("div",Pn,[i("a",{href:e.slotGame.review_link,onFocus:s[4]||(s[4]=f=>l.isFocused=!0),class:m(["slots-button flex items-center justify-center gap-2 h-[50px] no-underline w-full rounded border border-black px-6 mt-2",l.isFocused?"bg-black text-white":"text-black bg-white"])},[l.isFocused?(o(),a("span",jn,[i("img",{loading:"lazy",class:"img-fluid inline w-5 h-5",width:"20",height:"20",src:e.slotGame.images.link_out_white,alt:"Read Review Icon White"},null,8,Rn)])):(o(),a("span",Nn,[i("img",{loading:"lazy",class:"img-fluid inline w-5 h-5",width:"20",height:"20",src:e.slotGame.images.link_out_black,alt:"Read Review Icon Black"},null,8,zn)])),i("span",qn,c(e.buttonLabels.read_review),1)],42,On)])):h("",!0),r.complianceCheck?h("",!0):(o(),a("div",Vn,[v(d,{offer:e.slotGame.offer,cta:"slot_game_list_"+e.slotGame.order,"cta-location":"slot_game_list_"+e.slotGame.order,gtm:"slot_game_list_cta "+e.slotGame.offer.brand.name+" pos="+e.slotGame.order,css:"slots-button exit-click-cta exit-page-link flex items-center justify-center gap-2 h-[50px] w-full text-white rounded-[3px] bg-gdc-blue-600 group-hover:bg-gdc-blue-700 group-focus:bg-gdc-blue-700 mt-2"},{default:L(()=>[i("span",null,[i("img",{loading:"lazy",class:"img-fluid inline w-5 h-5",width:"20",height:"20",src:e.slotGame.images.demoMobileWhite,alt:"Play For Real Icon"},null,8,$n)]),i("span",Un,c(e.buttonLabels.overlay_real.toUpperCase()),1)]),_:1},8,["offer","cta","cta-location","gtm"])]))])):h("",!0)],2)],2)])],2)),[[A,e.modalVisible]])}const Wn=_(mn,[["render",Hn]]),Jn={components:{ExitLinkButtonElements:j,SlotGameOverlay:hn,SlotGameDemoModal:Wn},props:{even:Boolean,slotGame:Object,isFreeSlotGame:{type:Boolean,default:!1},geo:{type:String,default:"gb"},isCompareItem:{type:Boolean,default:!1},translations:{type:Object,required:!1,default:()=>{}},userId:{type:String,required:!1},buttonLabels:{type:Object,required:!0},ageCheckerEnvs:{type:Object,required:!0},isTouchDevice:{type:Boolean,default:!1}},data(){return{isBeingCompared:!1,disableAddToCompare:!1,modalVisible:!1,events:{removeFromCompare:new CustomEvent("remove-from-compare",{detail:{slotGame:this.slotGame}}),addToCompare:new CustomEvent("add-to-compare",{detail:{slotGame:this.slotGame}})}}},mounted:function(){this.isCompareItem&&this.setupListeners()},methods:{setupListeners(){window.addEventListener("update-compare-checkboxes",t=>{this.disableAddToCompare=t.detail.disable}),window.addEventListener("reset-slot-compare",()=>{this.isBeingCompared=!1,this.disableAddToCompare=!1}),window.addEventListener("remove-from-compare-child",t=>{t.detail.slotId===this.slotGame.id&&(this.isBeingCompared=!1)}),window.addEventListener("recheck-compare-items",t=>{t.detail.slots.filter(e=>e.id==this.slotGame.id).length>0?this.isBeingCompared=!0:this.isBeingCompared=!1})},toggleSlotGameToCompare(){let t=this.isBeingCompared?this.events.removeFromCompare:this.events.addToCompare;window.dispatchEvent(t),this.isBeingCompared=!this.isBeingCompared},triggerSlotGameDemoModal(){if(this.userId)this.modalVisible=!0;else{const t=document.querySelector('[data-custom-open-supabase="modal-authentication"]');t&&t.dispatchEvent(new Event("click"))}}},computed:{isDisabled(){return this.disableAddToCompare&&!this.isBeingCompared},compareText(){var e,u;const t=((e=this.translations)==null?void 0:e.add_to_compare)||"Add to Compare",s=((u=this.translations)==null?void 0:u.added)||"Added";return this.isBeingCompared?s:t}}},Zn=["id"],Yn={class:"logo relative group"},Kn=["src","alt"],Xn={class:"absolute top-[5px] left-[5px]"},Qn={key:0,class:"rounded-[0.5rem] bg-red-600 px-2 text-[0.79rem] text-white"},ed={class:"flex-auto min-h-[1px] p-0"},td={key:0,class:"flex py-2 gap-x-2 items-center text-sm text-gdc-blue-600"},sd=["id","disabled"],id=["for"],od=["href"],ld={key:1,class:"slot-game-play-demo-mobile mb-2"},rd=["src"],ad={class:"text-[13px] leading-[18px] capitalize text-nowrap"},nd={key:2,class:"slot-game-review-link"},dd=["href"],cd={class:"arrow-box inline-flex items-center"},ud=["src"],hd=["src"],md={class:"text leading-[22px] float-none md:float-left"},gd={key:3,class:"slot-game-exit-link"},fd={class:"arrow-box inline-flex items-center"},_d=["src"];function pd(t,s,e,u,l,r){const n=b("slot-game-overlay"),d=b("exit-link-button-elements"),f=b("slot-game-demo-modal");return o(),a(x,null,[i("div",{class:"gdc-filterable-items md:flex-[0_0_33.33333333%] md:max-w-[33.33333333%] flex-[0_0_50%] max-w-[50%] m-0 p-0 gdc-free-slot-game group","data-inc":"GDC - Slot Game Item",id:"game-"+e.slotGame.id},[i("div",{class:m(["bg-clip-border bg-white rounded flex flex-col min-w-0 relative border-solid border-[rgba(0,0,0,0.125)] item p-0 overflow-hidden md:!ml-[15px] md:mr-0 mt-0 mb-[15px] border-0",{"ml-0 mr-2.5":!e.even,"ml-2.5":e.even}])},[i("div",null,[i("div",Yn,[v(n,{slotGame:e.slotGame,geo:e.geo,onOpenSlotGameDemoModal:s[0]||(s[0]=g=>l.modalVisible=!0),userId:e.userId,buttonReal:e.buttonLabels.overlay_real,buttonDemo:e.buttonLabels.demo_play,isFreeSlotGame:e.isFreeSlotGame,isTouchDevice:e.isTouchDevice},null,8,["slotGame","geo","userId","buttonReal","buttonDemo","isFreeSlotGame","isTouchDevice"]),i("img",{loading:"lazy",class:"relative w-100 img-fluid w-full max-w-full h-auto grid-thumb rounded-[10px] group-hover:shadow-[0_0_15px_1px_#b5b5b5]",src:e.slotGame.images.main,alt:e.slotGame.short_title},null,8,Kn),i("div",Xn,[e.slotGame.game.slot_ribbon_name?(o(),a("span",Qn,c(e.slotGame.game.slot_ribbon_name),1)):h("",!0)])])]),i("div",ed,[e.isCompareItem?(o(),a("div",td,[y(i("input",{type:"checkbox",id:"add-compare-"+e.slotGame.id,class:m(["rounded focus:ring-0 focus:ring-offset-0 border-gdc-blue-600",{"border-gdc-gray-400":r.isDisabled}]),onClick:s[1]||(s[1]=g=>r.toggleSlotGameToCompare()),disabled:r.isDisabled,"onUpdate:modelValue":s[2]||(s[2]=g=>l.isBeingCompared=g)},null,10,sd),[[G,l.isBeingCompared]]),i("label",{for:"add-compare-"+e.slotGame.id,class:m([{"text-gdc-gray-400":r.isDisabled},"cursor-pointer"])},c(r.compareText),11,id)])):h("",!0),i("div",{class:m(["automation-title title pt-0 pb-2 flex items-center py-2 font-extrabold text-[13px] min-h-[45px] ml-1",{"mt-1":!e.isCompareItem}])},[i("a",{href:e.slotGame.review_link,class:m(["text-black no-underline",{"hover:underline":e.slotGame.review_link}])},c(e.slotGame.short_title),11,od)],2),e.isTouchDevice?(o(),a("div",ld,[i("button",{class:"bg-white text-black rounded border border-solid border-black flex justify-center items-center self-stretch gap-1 h-[33px] w-full",onClick:s[3]||(s[3]=(...g)=>r.triggerSlotGameDemoModal&&r.triggerSlotGameDemoModal(...g))},[i("span",null,[i("img",{loading:"lazy",class:"img-fluid inline w-5 h-5",width:"20",height:"20",src:e.slotGame.images.demoMobileBlack,alt:"Play Free Demo Icon"},null,8,rd)]),i("span",ad,c(e.buttonLabels.demo_play),1)])])):h("",!0),e.isFreeSlotGame||e.geo==="us"||e.geo==="gr"?(o(),a("div",nd,[e.slotGame.review_link?(o(),a("a",{key:0,href:e.slotGame.review_link,class:m(["slots-button flex items-center justify-center gap-1 h-[33px] no-underline w-full rounded",e.isTouchDevice?"text-black rounded bg-white border border-black":"text-white bg-gdc-blue-600 group-hover:shadow-none group-hover:no-underline group-hover:text-white group-hover:bg-gdc-blue-700"]),rel:"nofollow",target:"_blank"},[i("span",cd,[e.isTouchDevice?(o(),a("img",{key:0,loading:"lazy",class:"img-fluid inline w-5 h-5",width:"20",height:"20",src:e.slotGame.images.link_out_black,alt:"Read Full Review Icon Black"},null,8,ud)):(o(),a("img",{key:1,loading:"lazy",class:"img-fluid inline w-5 h-5",width:"20",height:"20",src:e.slotGame.images.link_out_white,alt:"Read Full Review Icon White"},null,8,hd))]),i("span",{class:m(["text font-normal text-[13px] leading-[18px] uppercase",e.isTouchDevice?"text-nowrap":"md:text-base md:leading-[22px]"])},c(e.buttonLabels.read_review),3),i("span",md,c(e.slotGame.game.feature_name),1)],10,dd)):h("",!0)])):(o(),a("div",gd,[v(d,{offer:e.slotGame.offer,cta:"slot_game_list_"+e.slotGame.order,"cta-location":"slot_game_list_"+e.slotGame.order,gtm:"slot_game_list_cta "+e.slotGame.offer.brand.name+" pos="+e.slotGame.order,css:"slots-button exit-click-cta exit-page-link flex items-center justify-center gap-1 h-[33px] w-full text-white rounded-[3px] bg-gdc-blue-600 group-hover:shadow-none group-hover:no-underline group-hover:text-white group-hover:bg-gdc-blue-700 border border-gdc-blue-600"},{default:L(()=>[i("span",fd,[i("img",{loading:"lazy",class:"img-fluid inline w-5 h-5",width:"20",height:"20",src:e.slotGame.images.link_out_white,alt:"next"},null,8,_d)]),i("span",{class:m(["text font-normal text-[13px] leading-[18px] uppercase text-nowrap",e.isTouchDevice?"":"md:text-base md:leading-[22px]"])},c(e.buttonLabels.overlay_real.toUpperCase()),3)]),_:1},8,["offer","cta","cta-location","gtm"])]))])],2)],8,Zn),v(f,{"modal-visible":l.modalVisible,onCloseSlotDemo:s[4]||(s[4]=g=>l.modalVisible=!1),slotGame:e.slotGame,geo:e.geo,ageCheckerEnvs:e.ageCheckerEnvs,isToucheDevice:e.isTouchDevice,isFreeSlotGame:e.isFreeSlotGame,buttonLabels:e.buttonLabels},null,8,["modal-visible","slotGame","geo","ageCheckerEnvs","isToucheDevice","isFreeSlotGame","buttonLabels"])],64)}const bd=_(Jn,[["render",pd]]),xd={props:{sortOptions:{type:Array,required:!1,default(){return[{value:"a-z",name:"sort",label:"A - Z",locaclisedLabel:"A - Z",checked:!1},{value:"z-a",name:"sort",label:"Z - A",locaclisedLabel:"Z - A",checked:!1},{value:"new-old",name:"sort",label:"Newest - Oldest",locaclisedLabel:"Newest - Oldest",checked:!1},{value:"old-new",name:"sort",label:"Oldest - Newest",locaclisedLabel:"Oldest - Newest",checked:!1},{value:"highest-rtp",name:"sort",label:"Highest RTP - Lowest RTP",locaclisedLabel:"Highest RTP - Lowest RTP",checked:!1},{value:"lowest-rtp",name:"sort",label:"Lowest RTP - Highest RTP",locaclisedLabel:"Lowest RTP - Highest RTP",checked:!1}]}}},data(){return{isDropdownActive:!1,sortOptionsData:this.sortOptions,sortBy:[]}},computed:{clearLabelText(){return window.translations.sortBy.clear_label||"CLEAR ALL"},titleText(){return window.translations.sortBy.title||"SORT"},closeLabelText(){return window.translations.sortBy.close_label||"Close"}},methods:{updateCheckedValue(t){let s=t.currentTarget.getAttribute("id"),e=this.sortOptionsData[s].name,u=!this.sortOptionsData[s].checked;this.sortOptionsData.filter(function(l){l.name==e&&(l.checked=!1)}),this.sortOptionsData[s].checked=u,this.emitSelectedValues(),this.isDropdownActive=!1},emitSelectedValues(){this.sortBy=this.sortOptionsData.filter(function(t){if(t.checked)return t}).map(t=>t.value),this.$emit("sort-by-items",this.sortBy)},close(t){this.$el.contains(t.target)||(this.isDropdownActive=!1)},clearSorting(){this.sortOptionsData.filter(function(t){t.checked=!1}),this.emitSelectedValues()}},mounted(){document.addEventListener("click",this.close)},beforeDestroy(){document.removeEventListener("click",this.close)}},wd={class:"dropdown-trigger"},vd={class:"icon hidden md:inline ml-1"},yd={key:0,loading:"lazy",class:"inline h-[15px] w-[15px]",src:"https://objects.kaxmedia.com/auto/o/139683/85be345809.svg",width:"15",height:"15",alt:"Black Arrow Down"},kd={key:1,class:"inline h-[15px] w-[15px]",loading:"lazy",src:"https://objects.kaxmedia.com/auto/o/139686/c3a0e7bd69.svg",width:"15",height:"15",alt:"Black Arrow Up"},Cd={class:"md:hidden flex justify-between bg-white mobile-header p-[20px]"},Sd={class:"clear-text-desktop text-right hidden md:block"},Ld={class:"checkbox-radio-wrapper block mb-2 mt-1 cursor-pointer"},Td=["id","name","value","checked"],Ad=["for"],Fd={key:0},Id={class:"py-3 md:py-0 flex justify-center"};function Md(t,s,e,u,l,r){return o(),a("div",{class:m(["dropdown-container border border-[#000] relative block shadow-[0_0_3px_1px_#ddd] rounded-[5px]",{"is-active":l.isDropdownActive}])},[i("div",wd,[i("button",{class:"dropbtn font-bold text-[#495057] w-full text-center text-base bg-white cursor-pointer p-[0.5em] rounded-[5px] border-0",onClick:s[0]||(s[0]=B(n=>l.isDropdownActive=!l.isDropdownActive,["prevent"]))},[i("span",null,c(r.titleText),1),i("span",vd,[l.isDropdownActive?(o(),a("img",kd)):(o(),a("img",yd))])])]),l.isDropdownActive?(o(),a("div",{key:0,id:"sort-dropdown-menu",class:m(["sort-dropdown-menu bg-white block min-w-[auto] float-none shadow-none text-[#212529] text-left font-normal p-0 border-0 left-0 list-none",{"relative z-[1] top-full":!l.isDropdownActive,"is-active m-0 fixed md:relative min-h-screen md:min-h-0 top-0 w-full z-[9000]":l.isDropdownActive}])},[i("div",Cd,[i("div",null,c(r.titleText),1),i("div",{class:"close-div text-[#FF0000]",onClick:s[1]||(s[1]=B(n=>l.isDropdownActive=!l.isDropdownActive,["prevent"]))},[k(c(r.closeLabelText)+" ",1),s[5]||(s[5]=i("svg",{class:"ml-1 closeTooltip inline",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"24",height:"24",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 50 50"},[i("path",{d:"M37.304 11.282l1.414 1.414l-26.022 26.02l-1.414-1.413z",fill:"#FF0000"}),i("path",{d:"M12.696 11.282l26.022 26.02l-1.414 1.415l-26.022-26.02z",fill:"#FF0000"})],-1))])]),i("div",{class:m(["sort-dropdown-content px-4 block absolute bg-[white] w-full min-w-[180px] shadow-[0_0_3px_1px_#ddd] text-base z-[1] rounded-[5px] border-0",{"is-active":l.isDropdownActive}])},[y(i("div",Sd,[i("button",{class:"btn sort-clearall-btn",onClick:s[2]||(s[2]=n=>r.clearSorting())},[i("span",null,c(r.clearLabelText),1)]),s[6]||(s[6]=i("hr",{class:"opacity-30 max-w-[90%]"},null,-1))],512),[[A,l.sortBy.length>0]]),(o(!0),a(x,null,w(l.sortOptionsData,(n,d)=>(o(),a("li",{key:d,class:"cursor-pointer m-0"},[i("label",Ld,[i("input",{id:d,name:n.name,value:n.value,type:"radio",checked:n.checked,onChange:s[3]||(s[3]=(...f)=>r.updateCheckedValue&&r.updateCheckedValue(...f))},null,40,Td),s[7]||(s[7]=i("span",null,[i("span",{class:"inner-circle"})],-1)),i("label",{for:d,class:m(["pl-2",{"font-semibold":n.checked}])},c(n.locaclisedLabel),11,Ad)]),d!==e.sortOptions.length-1?(o(),a("hr",Fd)):h("",!0)]))),128)),i("div",Id,[i("button",{class:"closebtn block md:hidden py-2 bg-transparent border border-red-500 rounded-md text-red-500 text-[15px] font-semibold h-10 m-1.5 min-w-[40%]",onClick:s[4]||(s[4]=n=>r.clearSorting())},c(r.clearLabelText.toUpperCase()),1)])],2)],2)):h("",!0)],2)}const Gd=_(xd,[["render",Md]]),Bd={model:{prop:"isEnabled",event:"toggle"},props:{isEnabled:Boolean,color:{type:String,required:!1,default:"#60CF43"}},methods:{toggle:function(){this.$emit("toggle",!this.isEnabled)}}},Dd={class:"switch-button-control"},Ed={class:"switch-button-label"};function Pd(t,s,e,u,l,r){return o(),a("div",Dd,[i("div",{class:m(["switch-button",{enabled:e.isEnabled}]),onClick:s[0]||(s[0]=(...n)=>r.toggle&&r.toggle(...n)),style:E({"--color":e.color})},s[1]||(s[1]=[i("div",{class:"button"},null,-1)]),6),i("div",Ed,[P(t.$slots,"default",{},void 0,!0)])])}const Od=_(Bd,[["render",Pd],["__scopeId","data-v-fa56a6b7"]]),jd={components:{autocomplete:H,"switch-button":Od},props:{initialFilters:Array,slotGames:Array,filterIcon:String},data(){return{filters:this.initialFilters,searchTerm:"",isActive:!1,progressiveJackpots:!1,selected:!1}},created:function(){this.filters=this.filters.map(t=>(t.attributes=t.attributes.sort(function(s,e){return s.order-e.order}),t.id===49|t.id===53?(t.attributes=t.attributes.sort(function(s,e){if(s=s.name,e=e.name,u(s)||u(e))return Number(s)||Number(e);function u(l){return/^\d/.test(l)}return se?1:0}),t.attributes.forEach(s=>{s.is_active=!1,s.filter_id=t.id,s.is_disabled=this.filteredSlotGames.every(e=>e.game.slot_themes!=="undefined"?!e.game.slot_themes.includes(s.attribute_type_id):!0)})):t.id===48|t.id===52?t.attributes.forEach(s=>{s.is_active=!1,s.filter_id=t.id,s.is_disabled=this.filteredSlotGames.every(e=>e.game.software_id!=="undefined"?e.game.software_id!=s.attribute_type_id:!0)}):t.attributes.forEach(s=>{s.is_active=!1,s.filter_id=t.id,s.is_disabled=this.filteredSlotGames.every(e=>{let u=e.game.attributes.find(l=>l.attribute_type_id==s.attribute_type_id);return typeof u<"u"?u.value!=s.attribute_value:!0})}),t.attributes=t.attributes.filter(s=>s.is_disabled==!1),t))},computed:{activeFilters(){return this.filters.map(t=>t.attributes.filter(s=>s.is_active)).flat()},filteredSlotGames(){return this.slotGames.filter(t=>{let s=[];this.progressiveJackpots?this.activeFilters.length>0?s=this.activeFilters.map(l=>{if(l.filter_id===49|l.filter_id===53)return t.game.slot_themes!=="undefined"?t.game.slot_themes.includes(l.attribute_type_id)&&this.getAttributeValue(t,184)==="1":!1;if(l.filter_id===48|l.filter_id===52)return t.game.software_id==l.attribute_type_id&&this.getAttributeValue(t,184)==="1";{let r=t.game.attributes.find(n=>n.attribute_type_id==l.attribute_type_id);return typeof r<"u"?r.value==l.attribute_value&&this.getAttributeValue(t,184)==="1":!1}}):s.push(this.getAttributeValue(t,184)==="1"):s=this.activeFilters.map(l=>{if(l.filter_id===49|l.filter_id===53)return t.game.slot_themes!=="undefined"?t.game.slot_themes.includes(l.attribute_type_id):!1;if(l.filter_id===48|l.filter_id===52)return t.game.software_id==l.attribute_type_id;{let r=t.game.attributes.find(n=>n.attribute_type_id==l.attribute_type_id);return typeof r<"u"?r.value==l.attribute_value:!1}});let e=s.every(l=>l===!0),u=this.searchTerm===""||typeof this.searchTerm!="string"?!0:t.title.toLowerCase().includes(this.searchTerm.toLowerCase());return e&&u})},clearLabelText(){return window.translations.slotGameFilters.clear_label||"CLEAR ALL"},searchLabelText(){return window.translations.slotGameFilters.search||"Search"},searchPlaceholderText(){return window.translations.slotGameFilters.search_placeholder||"Search slot games..."},filterLabelText(){return window.translations.slotGameFilters.filter_label||"Filter"},progressiveLabelText(){return window.translations.slotGameFilters.progressive_label||"Progressive Jackpot"},closeLabelText(){return window.translations.slotGameFilters.close_label||"Close"},resetLabelText(){return window.translations.slotGameFilters.reset_label||"Reset"},saveLabelText(){return window.translations.slotGameFilters.save_label||"Save"}},watch:{initialFilters(t){this.filters=t},searchTerm(t){this.disableFilters(),this.$emit("change",this.filteredSlotGames)}},methods:{searchTermChange(t){this.searchTerm=t.target?t.target.value:t},disableFilters(){this.filters=this.filters.map(t=>(t.id===49|t.id===53?t.attributes.forEach(s=>{s.is_disabled=this.filteredSlotGames.every(e=>e.game.slot_themes!=="undefined"?!e.game.slot_themes.includes(s.attribute_type_id):!0)}):t.id===48|t.id===52?t.attributes.forEach(s=>{s.is_disabled=this.filteredSlotGames.every(e=>e.game.software_id!=="undefined"?e.game.software_id!=s.attribute_type_id:!0)}):t.attributes.forEach(s=>{s.is_disabled=this.filteredSlotGames.every(e=>{let u=e.game.attributes.find(l=>l.attribute_type_id==s.attribute_type_id);return typeof u<"u"?u.value!=s.attribute_value:!0})}),t))},toggleFilter(t){t.is_disabled||(t.is_active=!t.is_active,this.disableFilters(),this.$emit("change",this.filteredSlotGames),this.disableFilters())},clearFilters(){this.filters=this.filters.map(t=>(t.attributes.forEach(s=>s.is_active=!1),t)),this.disableFilters(),this.$emit("change",this.filteredSlotGames),this.disableFilters()},toggleProgressive(t){this.progressiveJackpots=t,this.disableFilters(),this.$emit("change",this.filteredSlotGames),this.disableFilters()},getAttributeValue(t,s){let e=t.game.attributes.find(u=>u.attribute_type_id==s);return typeof e>"u"?e={value:0}:e.value==="undefined"&&(e.value=0),e.value}},filters:{labelToClass(t){return t?t.replace(" ","_").toLowerCase():""}}},Rd={id:"filter-sidebar",class:"w-full md:flex-[0_0_25%] md:max-w-[25%] p-0 body_content_left_col"},Nd={class:"gdc-filter-wrapper flex flex-col","data-inc":"GDC - Filters"},zd={class:"automation-search-wrapper order-1 md:order-none pb-3"},qd={class:"order-none md:order-1 gdc-filter__attributes-controls clearfix"},Vd=["src"],$d={class:"label text-[15px] font-bold"},Ud={class:"hidden md:block text-center"},Hd={class:"hidden md:block order-2 order-md-2 selected-filters border-b-black border-b-2 border-solid;"},Wd={class:"p-0 !ps-0"},Jd=["onClick"],Zd={class:"float-right"},Yd={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 16 16",style:{margin:"2px 0 0 1px"}},Kd={class:"progressive-jackpots-container order-3 order-md-3 py-3"},Xd={class:"flex flex-row align-items-center"},Qd={class:"progressive-jackpots-label mr-auto mb-0 text-base font-semibold"},ec={class:"md:hidden flex justify-between bg-white mobile-header p-5 border-b border-b-black"},tc=["src"],sc={class:"gdc-filter__dropdown-panel__scrollable",style:{height:"auto"}},ic={class:"gdc-filter__dropdown-panel"},oc=["onClick"],lc=["id"],rc=["onClick"],ac=["data-attr-id"],nc={class:"mr-2 overflow-hidden bg-white border h-3.5 w-3.5 rounded-[3px] border-solid border-[#707070] inline-block mt-0.5"},dc={class:"bg-[#FF0000] pt-1"},cc={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",class:"inline",viewBox:"0 0 16 16",style:{"margin-top":"-15px"}},uc={class:"flex justify-center align-items-center block md:hidden pt-5"};function hc(t,s,e,u,l,r){const n=b("autocomplete"),d=b("switch-button");return o(),a("div",Rd,[i("div",Nd,[i("div",zd,[v(n,{suggestions:this.slotGames,modelValue:l.searchTerm,"onUpdate:modelValue":s[0]||(s[0]=f=>l.searchTerm=f),placeholder:r.searchPlaceholderText,onChange:r.searchTermChange,inputClass:"pr-9 pl-2.5 border-0 shadow-[0_0_3px_1px_#ddd]",searchIconPosition:"97%"},null,8,["suggestions","modelValue","placeholder","onChange"])]),i("div",qd,[i("button",{type:"button",class:"btn md:hidden filter-btn !font-bold border border-black w-full mb-3","aria-haspopup":"true","aria-expanded":"false",onClick:s[1]||(s[1]=f=>l.isActive=!0)},[i("img",{loading:"lazy",class:"slot-games-filter-icon inline h-[22px] pr-2",src:e.filterIcon},null,8,Vd),i("span",null,c(r.filterLabelText.toUpperCase()),1),y(i("span",{class:"!inline md:hidden"}," ("+c(r.activeFilters.length)+") ",513),[[A,r.activeFilters.length>0]])]),i("div",$d,c(r.filterLabelText.toUpperCase()),1),i("div",Ud,[y(i("button",{class:"btn filter-clearall-btn gdc-filter-reset-btn",onClick:s[2]||(s[2]=f=>r.clearFilters())},[i("span",null,c(r.clearLabelText),1)],512),[[A,r.activeFilters.length>0]])])]),i("div",Hd,[i("ul",Wd,[(o(!0),a(x,null,w(r.activeFilters,f=>(o(),a("li",{key:f.id,onClick:g=>r.toggleFilter(f)},[i("span",null,c(f.name),1),i("span",Zd,[(o(),a("svg",Yd,s[6]||(s[6]=[i("path",{fill:"#fff",d:"M 15.96875 14.019531 L 9.847656 7.957031 L 15.90625 1.839844 L 14.019531 -0.03125 L 7.960938 6.089844 L 1.84375 0.03125 L -0.03125 1.902344 L 6.09375 7.972656 L 0.03125 14.097656 L 1.902344 15.96875 L 7.976562 9.839844 L 14.097656 15.90625 Z M 15.96875 14.019531"},null,-1)])))])],8,Jd))),128))])]),i("div",Kd,[i("div",Xd,[i("label",Qd,c(r.progressiveLabelText)+":",1),v(d,{isEnabled:l.progressiveJackpots,onToggle:r.toggleProgressive},null,8,["isEnabled","onToggle"])])]),i("div",{class:m(["dropdown-menu gdc-filter clearfix order-4 left-0 hidden lg:block",{"is-active":l.isActive}]),id:"filters-dropdown"},[i("div",ec,[i("div",null,[i("img",{loading:"lazy",class:"slot-games-filter-icon inline h-[22px] pr-2",src:e.filterIcon},null,8,tc),k(" "+c(r.filterLabelText),1)]),i("div",{class:"close-div",onClick:s[3]||(s[3]=f=>l.isActive=!1)},[k(c(r.closeLabelText)+" ",1),s[7]||(s[7]=i("svg",{class:"ml-1 closeTooltip inline",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"24",height:"24",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 50 50"},[i("path",{d:"M37.304 11.282l1.414 1.414l-26.022 26.02l-1.414-1.413z",fill:"#FF0000"}),i("path",{d:"M12.696 11.282l26.022 26.02l-1.414 1.415l-26.022-26.02z",fill:"#FF0000"})],-1))])]),i("div",sc,[(o(!0),a(x,null,w(l.filters,f=>(o(),a("div",{key:f.id,class:m(["filter_box gdc-filter__attribute mb-[15px]",f.label?f.label.replace(" ","_").toLowerCase():""]),role:"group"},[i("div",ic,[i("h3",{class:"mx-3 md:m-0 md:pb-2 text-base font-bold leading-5 w-auto;","aria-expanded":"false",onClick:g=>l.selected=l.selected!=f.id?f.id:!1},[k(c(f.label)+" ",1),s[8]||(s[8]=i("span",{"data-v-93874f78":"",class:"icon inline md:hidden float-right"},[i("svg",{"data-v-93874f78":"",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 17 17",class:"inline"},[i("g",{"data-v-93874f78":""},[i("path",{"data-v-93874f78":"",fill:"#979797",d:"M 0 5.191406 L 2.003906 3.1875 L 8.503906 9.800781 L 14.996094 3.1875 L 17 5.191406 L 8.503906 13.8125 Z M 0 5.191406"})])])],-1))],8,oc),i("ul",{class:m(["gdc-filter__attributes-list ml-0 p-0 mr-3 md:mr-0 hidden md:block !list-none !ps-0 max-h-[121px] overflow-y-auto w-auto p-0;",{"!block":l.selected==f.id}]),id:"label_"+f.id,"data-parent":"#filters-dropdown"},[(o(!0),a(x,null,w(f.attributes,g=>(o(),a("li",{class:"mx-3 md:m-0 p-0 !mb-0",key:g.id,onClick:p=>r.toggleFilter(g)},[i("span",{"data-attr-id":g.id,class:m(["flex mt-1 align-items-center gdc-filter__attribute-btn",{"gdc-filter__attribute-btn--disabled":g.is_disabled}])},[i("span",nc,[y(i("span",dc,[(o(),a("svg",cc,s[9]||(s[9]=[i("path",{fill:"#fff",d:"M 6 14.023438 L 0 8.265625 L 1.859375 6.351562 L 5.964844 10.265625 L 14.105469 1.976562 L 16 3.855469 Z M 6 14.023438"},null,-1)])))],512),[[A,g.is_active]])]),i("span",{class:m(["gdc-filter__attribute-btn__label text-sm leading-[19px]",{bold:g.is_active}])},c(g.name),3)],10,ac)],8,rc))),128))],10,lc)]),s[10]||(s[10]=i("hr",null,null,-1))],2))),128))]),i("div",uc,[i("div",{class:"btn clear-btn m-3 rounded-2 border border-solid border-red-500 text-[15px] text-red-500 font-semibold",onClick:s[4]||(s[4]=f=>r.clearFilters())},c(r.clearLabelText),1),i("div",{class:"btn save-btn m-3 rounded-2 border border-solid border-black bg-black text-[15px] text-white font-semibold",onClick:s[5]||(s[5]=f=>l.isActive=!1)},c(r.saveLabelText.toUpperCase()),1)])],2)])])}const mc=_(jd,[["render",hc],["__scopeId","data-v-14fb7231"]]),gc={components:{"slot-game-item":bd,"sort-by":Gd,"slot-game-filters":mc,pagination:W,Warning:K},props:{geo:{type:String,default:"gb"},isFreeSlotGames:{type:Boolean,default:!1},filterIcon:{type:String},isCompareList:{type:Boolean,default:!1},translations:{type:Object,required:!1,default:()=>{}}},data(){return{slotGames:[],filteredSlotGames:[],filters:[],sortedSlotGames:[],sortBy:[],activeFilters:[],perPage:24,currentPage:1,isLoading:!0,sidebar:!0,siteFeatureReviewData:[],themesData:[],events:{"page-change-compare":new CustomEvent("page-change-compare")},userId:null,supabaseUrl:"https://account.gambling.com",supabaseAnonKey:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InV1a292YWxzZ2JrcmhwYnplY2l6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTIzMTM2OTcsImV4cCI6MjAyNzg4OTY5N30.vCOBrONjU5T8ygiVdkeDnqsBTOQhViY5E72N3Y4xDA0",isTouchDevice:!1}},mounted(){this.getSlotGames(),this.handleResizeAndTouchDetection(),window.addEventListener("resize",this.handleResizeAndTouchDetection)},async created(){window.addEventListener("authstatechange",t=>{var s,e,u;t.detail.event==="SIGNED_IN"?(this.userId=t.detail.session.user.id,(u=(e=(s=t.detail.session)==null?void 0:s.user)==null?void 0:e.user_metadata)!=null&&u.age_verified&&window.dispatchEvent(new Event("preAgeVerified")),console.log("User logged In")):t.detail.event==="SIGNED_OUT"&&(this.userId=null,console.log("User logged out"))})},computed:{endpoint(){let t="/json-files/",s=this.geo.replace("-","/");return this.geo!=="gb"?t=`/${s}/json-files/`:t="/uk/json-files/",this.isFreeSlotGames?`${t}free-slot-games.json`:`${t}slot-games.json`},games(){let t=this.perPage*this.currentPage,s=t-this.perPage;return ee(this.sortedSlotGames)&&(this.sortedSlotGames=te(this.sortedSlotGames)),Array.isArray(this.sortedSlotGames)?this.sortedSlotGames.slice(s,t):[]},gamesPerPage(){return Math.ceil(this.sortedSlotGames.length/this.perPage)},hideLabelText(){return window.translations.slotGamesList.hide_label||"HIDE FILTERS"},showLabelText(){return window.translations.slotGamesList.show_label||"SHOW FILTERS"},totalItemsText(){return window.translations.slotGamesList.total_items||"ITEM(S)"},loadingText(){return window.translations.slotGamesList.loadind||"Loading..."},noResultsText(){return window.translations.slotGamesList.no_results||"No Results Found..."},sortOptionsArray(){return[{value:"a-z",name:"sort",label:"A - Z",locaclisedLabel:window.translations.slotGamesList.sort_a_z||"A - Z",checked:!1},{value:"z-a",name:"sort",label:"Z - A",locaclisedLabel:window.translations.slotGamesList.sort_z_a||"Z - A",checked:!1},{value:"new-old",name:"sort",label:"Newest - Oldest",locaclisedLabel:window.translations.slotGamesList.sort_date_newest_oldest||"Newest - Oldest",checked:!1},{value:"old-new",name:"sort",label:"Oldest - Newest",locaclisedLabel:window.translations.slotGamesList.sort_date_oldest_newest||"Oldest - Newest",checked:!1},{value:"highest-rtp",name:"sort",label:"Highest RTP - Lowest RTP",locaclisedLabel:window.translations.slotGamesList.sort_rtp_highest_lowest||"Highest RTP - Lowest RTP",checked:!1},{value:"lowest-rtp",name:"sort",label:"Lowest RTP - Highest RTP",locaclisedLabel:window.translations.slotGamesList.sort_rtp_lowest_highest||"Lowest RTP - Highest RTP",checked:!1}]}},methods:{changePage(t){this.currentPage=t,this.ktagRerender(),window.scrollTo({top:window.pageYOffset+document.getElementById("slot-games").getBoundingClientRect().top-110}),this.isCompareList&&Q(()=>window.dispatchEvent(this.events["page-change-compare"]))},getSlotGames(){fetch(window.location.origin+this.endpoint).then(t=>t.json()).then(t=>{this.mapSlotGames(t),this.mapFilters(t),this.isLoading=!1,this.$emit("slotgame-is-loading",this.isLoading),this.ktagRerender()})},getFilteredSlotGames(t){this.currentPage=1,Array.isArray(t)&&(this.filteredSlotGames=t),this.getSortedSlotGames(),this.ktagRerender()},hideSidebar(){var t=document.querySelector("#filter-sidebar"),s=document.querySelector("#Slot-Games");this.sidebar=!this.sidebar,t.style.display!="none"?(t.style.display="none",s.classList.remove("show-filter")):(t.style.display="block",s.classList.add("show-filter"))},getSortBy(t){this.sortBy=t,this.getSortedSlotGames()},getSortedSlotGames(){Array.isArray(this.filteredSlotGames)&&(this.sortedSlotGames=JSON.parse(JSON.stringify(this.filteredSlotGames)),this.sortBy.length>0&&this.sortGames())},sortGames(){this.sortBy.includes("a-z")&&this.sortedSlotGames.sort((t,s)=>t.short_title.localeCompare(s.short_title)),this.sortBy.includes("z-a")&&this.sortedSlotGames.sort((t,s)=>s.short_title.localeCompare(t.short_title)),this.sortBy.includes("lowest-rtp")&&this.sortedSlotGames.sort((t,s)=>(parseFloat(this.getAttributeValue(t,181))||0)-(parseFloat(this.getAttributeValue(s,181))||0)),this.sortBy.includes("highest-rtp")&&this.sortedSlotGames.sort((t,s)=>(parseFloat(this.getAttributeValue(s,181))||0)-(parseFloat(this.getAttributeValue(t,181))||0)),this.sortBy.includes("old-new")&&this.sortedSlotGames.sort((t,s)=>(this.getAttributeValue(t,191)||0)-(this.getAttributeValue(s,191)||0)),this.sortBy.includes("new-old")&&this.sortedSlotGames.sort((t,s)=>(this.getAttributeValue(s,191)||0)-(this.getAttributeValue(t,191)||0))},mapSlotGames(t){this.siteFeatureReviewData=t.siteFeatureReviews,this.exitLink=t.exitLink,this.operatorImage=t.operatorImage,this.buttonLabels=t.buttonLabels,this.icons=t.icons,this.ageCheckerEnvs=t.ageCheckerEnvs;let s=this.siteFeatureReviewData.map(e=>{let u="";return this.geo==="nz"?u=e.page_name.replace("Slot","Pokies").substring(0,66):u=e.page_name.substring(0,66),{id:e.id,title:e.page_name,short_title:u,images:{main:e.image,link_out_white:this.icons.playArrowRightWhite,link_out_black:this.icons.playArrowRightBlack,demoMobileBlack:this.icons.playDemoMobileBlack,demoMobileWhite:this.icons.playDemoMobileWhite,closeMobile:this.icons.closeDemoMobile,lineMobile:this.icons.lineDemoMobile,playDemoMobileWhite:this.icons.playDemoCircleWhite},review_link:e.path,demo_url:e.demo_url,game:e.game,order:e.order,offer:t.softwareOffers[e.game.software_id]}});s=s.sort(function(e,u){return e.order-u.order}),this.isFreeSlotGames&&(s=s.sort(function(e,u){return e.review_link&&!u.review_link?-1:!e.review_link&&u.review_link?1:0})),this.slotGames=s,this.filteredSlotGames=s,this.sortedSlotGames=s},mapFilters(t){this.themesData=Object.values(t.themes),this.filtersData=Object.values(t.filters),this.filtersData.forEach(s=>{s.id===49|s.id===53&&(s.attributes=this.themesData)}),this.filters=this.filtersData.sort(function(s,e){return s.order-e.order})},getAttributeValue(t,s){let e=t.game.attributes.find(u=>u.attribute_type_id==s);return typeof e>"u"?e={value:0}:e.value==="undefined"&&(e.value=0),e.value},ktagRerender(){setTimeout(()=>{ktag.reRender()},500)},handleResizeAndTouchDetection(){this.isTouchDevice="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0||window.innerWidth<540}},beforeDestroy(){window.removeEventListener("resize",this.handleResizeAndTouchDetection)}},fc={class:"flex flex-wrap items-center text-sm font-semibold text-center mb-0 md:mb-3"},_c=["src"],pc=["src"],bc={class:"hidden md:block md:flex-[0_0_25%] md:max-w-[25%] p-0 m-0 filter-items border-r"},xc={class:"w-full md:flex-[0_0_25%] md:max-w-[25%] p-0 m-0 mb-2 md:mb-0 filters-sort-by"},wc={key:0,class:"flex flex-wrap"},vc={class:"col-12 text-center my-5"},yc={class:"spinner-grow text-secondary tex",role:"status"},kc={class:"sr-only"},Cc={key:1,class:"flex flex-wrap w-full"},Sc={id:"Slot-Games",class:"automation-slot-game slot-games w-full show-filter m-0 p-0 body_content_right_col","data-inc":"GDC - Slot Games List"},Lc={key:0},Tc={class:"gdc-filterable flex flex-wrap"},Ac={class:"ml-2"};function Fc(t,s,e,u,l,r){const n=b("sort-by"),d=b("slot-game-filters"),f=b("slot-game-item"),g=b("pagination"),p=b("Warning");return o(),a("div",null,[i("div",fc,[l.sidebar?(o(),a("div",{key:0,class:"hidden md:flex md:flex-[0_0_25%] md:max-w-[25%] p-0 m-0 border text-[#979797] cursor-pointer justify-center",onClick:s[0]||(s[0]=S=>r.hideSidebar()),style:{"border-style":"none solid"}},[i("img",{loading:"lazy",class:"slot-games-filter-icon inline h-[22px] pr-2",src:e.filterIcon},null,8,_c),k(c(r.hideLabelText),1)])):(o(),a("div",{key:1,class:"hidden md:block md:flex-[0_0_25%] md:max-w-[25%] p-0 m-0 border text-[#979797] cursor-pointer",onClick:s[1]||(s[1]=S=>r.hideSidebar()),style:{"border-style":"none solid"}},[i("img",{loading:"lazy",class:"slot-games-filter-icon inline h-[22px] pr-2",src:e.filterIcon},null,8,pc),k(c(r.showLabelText),1)])),i("div",bc,c(this.filteredSlotGames.length)+" "+c(r.totalItemsText),1),s[3]||(s[3]=i("div",{class:"w-full md:flex-[0_0_25%] md:max-w-[25%] p-0 m-0"},null,-1)),i("div",xc,[v(n,{onSortByItems:r.getSortBy,sortOptions:r.sortOptionsArray},null,8,["onSortByItems","sortOptions"])])]),l.isLoading?(o(),a("div",wc,[i("div",vc,[i("div",yc,[i("span",kc,c(r.loadingText),1)])])])):(o(),a("div",Cc,[v(d,{"initial-filters":l.filters,"slot-games":l.slotGames,"filter-icon":e.filterIcon,onChange:r.getFilteredSlotGames},null,8,["initial-filters","slot-games","filter-icon","onChange"]),i("div",Sc,[r.games.length>0?(o(),a("div",Lc,[i("div",Tc,[(o(!0),a(x,null,w(r.games,(S,F)=>(o(),C(f,{even:(F+1)%2===0,key:S.id,slotGame:S,"is-free-slot-game":e.isFreeSlotGames,geo:e.geo,"is-compare-item":e.isCompareList,translations:e.translations,userId:l.userId,buttonLabels:t.buttonLabels,ageCheckerEnvs:t.ageCheckerEnvs,"is-touch-device":l.isTouchDevice},null,8,["even","slotGame","is-free-slot-game","geo","is-compare-item","translations","userId","buttonLabels","ageCheckerEnvs","is-touch-device"]))),128))]),i("div",Ac,[v(g,{"total-pages":r.gamesPerPage,total:this.sortedSlotGames.length,"per-page":l.perPage,"current-page":l.currentPage,onPagechanged:s[2]||(s[2]=S=>r.changePage(S))},null,8,["total-pages","total","per-page","current-page"])])])):(o(),C(p,{key:1,class:"col-span-full gap-0 text-center ml-2"},{default:L(()=>[k(c(r.noResultsText),1)]),_:1}))])]))])}const Ic=_(gc,[["render",Fc],["__scopeId","data-v-fa672fc1"]]),Mc={name:"OperatorAvailabilityBanner",props:{isFallbackOffer:Boolean,isCrossSellText:Boolean,crossSellText:String,notAvailableText:String,availableText:String}},Gc={class:"flex items-center oplitstTooltipCa text-xs font-semibold normal-case ml-0 pl-1 pr-[15px] py-3 rounded-[14px] my-2 bg-[#050A30] border text-white border-solid border-[#050A30]",role:"alert"},Bc={class:"col pl-1"},Dc={key:0},Ec={key:1},Pc={key:2};function Oc(t,s,e,u,l,r){return o(),a("div",Gc,[s[0]||(s[0]=i("div",{class:"col-auto p-0"},[i("svg",{class:"fill-current w-4 h-5 m-[5px]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},[i("path",{d:"M12.432 0c1.34 0 2.01.912 2.01 1.957 0 1.305-1.164 2.512-2.679 2.512-1.269 0-2.009-.75-1.974-1.99C9.789 1.436 10.67 0 12.432 0zM8.309 20c-1.058 0-1.833-.652-1.093-3.524l1.214-5.092c.211-.814.246-1.141 0-1.141-.317 0-1.689.562-2.502 1.117l-.528-.88c2.572-2.186 5.531-3.467 6.801-3.467 1.057 0 1.233 1.273.705 3.23l-1.391 5.352c-.246.945-.141 1.271.106 1.271.317 0 1.357-.392 2.379-1.207l.6.814C12.098 19.02 9.365 20 8.309 20z"})])],-1)),i("div",Bc,[e.isFallbackOffer&&e.isCrossSellText?(o(),a("span",Dc,c(e.crossSellText),1)):h("",!0),e.isFallbackOffer&&!e.isCrossSellText?(o(),a("span",Ec,c(e.notAvailableText),1)):(o(),a("span",Pc,c(e.availableText),1))])])}const jc=_(Mc,[["render",Oc]]),Rc={name:"payment-methods-icon",props:{brandFeatures:{type:Array,require:!0},state:{type:String,require:!0}},data:function(){return{paymentMethods:[]}},mounted:function(){this.fetchData()},methods:{fetchData(){this.paymentMethods=[],this.brandFeatures.filter(t=>{t.us_state.code==this.state&&this.paymentMethods.push(t)})}},watch:{state(){this.fetchData()}}},Nc={key:0},zc={key:1,class:"flex flex-wrap gap-4 mt-3"},qc=["src","title","alt"];function Vc(t,s,e,u,l,r){return t.paymentMethods.length==0?(o(),a("div",Nc," No payment method for the selected state. ")):(o(),a("div",zc,[(o(!0),a(x,null,w(t.paymentMethods,n=>(o(),a("img",{key:n.id,loading:"lazy",src:n.logo,title:n.brand_feature_key.feature,alt:n.brand_feature_key.feature,height:"40",width:"50"},null,8,qc))),128))]))}const $c=_(Rc,[["render",Vc]]),Uc={name:"CompetitionWinners",props:{recentWinners:{type:Object,required:!0}},data(){return{page:1}},methods:{prevPage(){this.page>1&&this.page--},nextPage(){this.page3&&this.$root.windowWidth>=960},totalPages(){return this.recentWinners.length-2},isFirstPage(){return this.page===1},isLastPage(){return this.page===this.totalPages},paginationBackButtonFill(){return this.isFirstPage?"#999999":"#212121"},paginationNextButtonFill(){return this.isLastPage?"#999999":"#212121"}}},Hc={class:"w-full pt-2"},Wc={class:"grid gap-4 grid-cols-1 lg:grid-cols-3 lg:auto-rows-[minmax(0,_1fr)]"},Jc={class:"flex w-full flex-col items-center rounded-[10px] border border-solid border-gdc-gray-200 [box-shadow:_0px_2px_3px_0px_rgba(3,_15,_39,_0.12)] h-fit bg-white"},Zc={class:"w-full rounded-t-[10px]"},Yc=["src","alt"],Kc={class:"flex flex-col p-4 justify-center items-start lg:items-center gap-2 self-stretch"},Xc={class:"text-gdc-gray-450 text-base font-normal leading-6"},Qc={class:"text-black text-base font-bold leading-6 mb-0"},eu={key:0,class:"flex justify-center items-center pt-6 gap-10 self-stretch"},tu={class:"flex items-center gap-2"},su={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},iu=["fill"],ou={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},lu=["fill"];function ru(t,s,e,u,l,r){return o(),a("div",Hc,[i("div",Wc,[(o(!0),a(x,null,w(r.paginatedWinners,n=>(o(),a("div",Jc,[i("div",Zc,[i("img",{src:n.image,alt:n.body,class:"w-full h-full rounded-t-[10px]"},null,8,Yc)]),i("div",Kc,[i("p",Xc,c(n.body),1),i("p",Qc,c(n.footer),1)])]))),256))]),r.shouldShowPagination?(o(),a("div",eu,[i("div",tu,[i("button",{onClick:s[0]||(s[0]=(...n)=>r.prevPage&&r.prevPage(...n)),class:"w-[20px] h-[20px]"},[(o(),a("svg",su,[i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.707 5.29297C12.8945 5.4805 12.9998 5.73481 12.9998 5.99997C12.9998 6.26513 12.8945 6.51944 12.707 6.70697L9.41398 9.99997L12.707 13.293C12.8025 13.3852 12.8787 13.4956 12.9311 13.6176C12.9835 13.7396 13.0111 13.8708 13.0122 14.0036C13.0134 14.1363 12.9881 14.268 12.9378 14.3909C12.8875 14.5138 12.8133 14.6255 12.7194 14.7194C12.6255 14.8133 12.5138 14.8875 12.3909 14.9378C12.268 14.9881 12.1364 15.0134 12.0036 15.0122C11.8708 15.0111 11.7396 14.9835 11.6176 14.9311C11.4956 14.8787 11.3852 14.8025 11.293 14.707L7.29298 10.707C7.10551 10.5194 7.00019 10.2651 7.00019 9.99997C7.00019 9.7348 7.10551 9.4805 7.29298 9.29297L11.293 5.29297C11.4805 5.1055 11.7348 5.00018 12 5.00018C12.2651 5.00018 12.5195 5.1055 12.707 5.29297Z",fill:r.paginationBackButtonFill},null,8,iu)]))]),i("button",{onClick:s[1]||(s[1]=(...n)=>r.nextPage&&r.nextPage(...n)),class:"w-[20px] h-[20px]"},[(o(),a("svg",ou,[i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.29302 5.29297C7.10555 5.4805 7.00023 5.73481 7.00023 5.99997C7.00023 6.26513 7.10555 6.51944 7.29302 6.70697L10.586 9.99997L7.29302 13.293C7.19751 13.3852 7.12133 13.4956 7.06892 13.6176C7.01651 13.7396 6.98892 13.8708 6.98777 14.0036C6.98662 14.1363 7.01192 14.268 7.0622 14.3909C7.11248 14.5138 7.18673 14.6255 7.28063 14.7194C7.37452 14.8133 7.48617 14.8875 7.60907 14.9378C7.73196 14.9881 7.86364 15.0134 7.99642 15.0122C8.1292 15.0111 8.26042 14.9835 8.38242 14.9311C8.50443 14.8787 8.61477 14.8025 8.70702 14.707L12.707 10.707C12.8945 10.5194 12.9998 10.2651 12.9998 9.99997C12.9998 9.7348 12.8945 9.4805 12.707 9.29297L8.70702 5.29297C8.51949 5.1055 8.26518 5.00018 8.00002 5.00018C7.73486 5.00018 7.48055 5.1055 7.29302 5.29297Z",fill:r.paginationNextButtonFill},null,8,lu)]))])])])):h("",!0)])}const au=_(Uc,[["render",ru]]),nu={name:"login",components:{GdcImg:I},data(){return{isSignup:!0,user:{name:"",nickname:"",email:"",phoneNumber:"",password:"",double_opted_in:!1,double_opted_in_2:!1},successMessage:!1,errorMessage:"",errors:{name:!1,email:!1,phoneNumber:!1,password:!1},redirectTo:"/uk/giveaways",showRegisterToCompetitionButton:!1,userId:null}},props:{heroImage:{type:Object,required:!1,default:null},competitionId:{type:Number,required:!1,default:null},heroImageContainerId:{type:String,required:!1,default:""},translations:{type:Object,default:null}},mounted(){document.getElementById(this.heroImageContainerId)&&document.getElementById(this.heroImageContainerId).classList.add("md:block")},async created(){window.addEventListener("authstatechange",t=>{t.detail.event==="SIGNED_IN"?this.competitionId?(this.showRegisterToCompetitionButton=!0,this.userId=t.detail.session.user.id):window.location.href=this.redirectTo:t.detail.event==="SIGNED_OUT"&&(this.showRegisterToCompetitionButton=!1,this.userId=null)})},methods:{toggleForm(){this.isSignup=!this.isSignup,this.errorMessage="",this.successMessage=!1,this.user={name:"",nickname:"",email:"",phoneNumber:"",password:"",double_opted_in:!1}},async competitionSignup(t){let s="/uk/giveaways";console.log("competitionSignup",t);const e={email:t.email,password:t.password,name:t.name,nickname:t.nickname,displayName:t.nickname||t.name,acceptedTerms:t.double_opted_in,redirectTo:s,phoneNumber:t.phoneNumber};let u=await window.supabase_access.register(e.email,e.password,e.name,e.nickname,e.displayName,e.acceptedTerms,e.redirectTo,e.phoneNumber);return console.log("user",u),u},validateForm(){if(this.isSignup){if(this.errors={name:this.user.name.trim().length<3,email:!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(this.user.email.trim()),phoneNumber:!/^(07\d{9})$/.test(this.user.phoneNumber.trim()),password:!/^(?=.*[a-z])(?=.*[A-Z]).{8,16}$/.test(this.user.password.trim())},this.errors.name)return this.errorMessage=this.translations.gdc_name_error,!1;if(this.errors.email)return this.errorMessage=this.translations.gdc_email_error,!1;if(this.errors.phoneNumber)return this.errorMessage=this.translations.gdc_phone_number_error,!1;if(this.errors.password)return this.errorMessage=this.translations.gdc_password_error,!1;if(!this.user.double_opted_in)return this.errors.double_opted_in=!0,this.errorMessage=this.translations.gdc_t_and_c_error,!1;if(!this.user.double_opted_in_2)return this.errors.double_opted_in_2=!0,this.errorMessage=this.translations.gdc_t_and_c_error,!1}else{if(this.errors={email:!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(this.user.email.trim()),password:this.user.password.trim().length===0},this.errors.email)return this.errorMessage=this.translations.gdc_email_error,!1;if(this.errors.password)return this.errorMessage=this.translations.gdc_empty_password_error,!1}return this.errorMessage="",!0},async handleSubmit(){if(this.validateForm())try{if(this.isSignup){const t=await this.competitionSignup(this.user);if(!t.success){this.errorMessage=t.error.message;return}this.successMessage=!0,console.log("result",t)}else{const t=await window.supabase_access.login(this.user.email,this.user.password);if(!t.success){this.errorMessage=t.error.message;return}console.log("signin result",t)}}catch(t){console.error(this.isSignup?"Registration error:":"Login error:",t),this.errorMessage=this.translations.gdc_generic_error.replace("{action}",this.isSignup?"registration":"login")}},async handleCompetitionRegistration(){const t=await fetch("http://localhost:8787/competitions/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({user_id:this.userId,competition_id:this.competitionId})});console.log("userId",this.userId),console.log("competitionId",this.competitionId),console.log("response",t),t.ok?console.log("Competition registration successful"):console.error("Competition registration failed")}}},du={class:"text-[#999999] text-base font-normal pt-[10px] mb-3"},cu={key:0},uu={key:1},hu={class:"flex justify-between mt-2 flex-wrap sm:flex-nowrap"},mu={class:"w-full",id:"login-component"},gu={key:0},fu={key:0,class:"succesMessage rounded-[20px] bg-[#39B54A] text-white text-base font-semibold py-[20px] px-[30px] mb-3"},_u={key:1,class:"formFields"},pu=["placeholder"],bu=["placeholder"],xu=["placeholder"],wu=["placeholder"],vu=["placeholder"],yu={class:"text-[15px] font-bold text-[#999999] mt-4 uppercase"},ku=["value"],Cu={key:2,class:"flex items-center mt-2 cursor-pointer"},Su=["innerHTML"],Lu={key:3,class:"flex items-center mt-3 cursor-pointer"},Tu=["innerHTML"],Au={key:2,class:"errorMessage mt-2 rounded-[20px] bg-[#e50000] text-white text-base font-semibold py-[15px] px-[30px]"};function Fu(t,s,e,u,l,r){return o(),a("div",null,[i("div",du,[l.isSignup&&!l.showRegisterToCompetitionButton?(o(),a("div",cu,[k(c(e.translations.gdc_already_member)+" ",1),i("span",{onClick:s[0]||(s[0]=(...n)=>r.toggleForm&&r.toggleForm(...n)),class:"text-[#0157FF] cursor-pointer"},c(e.translations.gdc_click_here_to_sign_in),1)])):h("",!0),!l.isSignup&&!l.showRegisterToCompetitionButton?(o(),a("div",uu,[k(c(e.translations.gdc_need_an_account)+" ",1),i("span",{onClick:s[1]||(s[1]=(...n)=>r.toggleForm&&r.toggleForm(...n)),class:"text-[#0157FF] cursor-pointer"},c(e.translations.gdc_click_here_to_sign_up),1)])):h("",!0)]),i("div",hu,[i("div",mu,[l.showRegisterToCompetitionButton?(o(),a("div",gu,[i("button",{onClick:s[2]||(s[2]=(...n)=>r.handleCompetitionRegistration&&r.handleCompetitionRegistration(...n)),class:"font-semibold uppercase block text-white w-full text-center transition duration-[0.2s] ease-out cursor-pointer h-[50px] rounded-md hover:text-white bg-[#0157FF] hover:bg-[#003ee6] hover:transition hover:duration-[0.1s] hover:ease-in"}," JOIN COMPETITION ")])):(o(),a("form",{key:1,onSubmit:s[10]||(s[10]=B((...n)=>r.handleSubmit&&r.handleSubmit(...n),["prevent"])),class:"competitionForm"},[l.successMessage?(o(),a("div",fu,[k(c(e.translations.gdc_welcome_to_gdc)+" ",1),s[11]||(s[11]=i("br",null,null,-1)),k(" "+c(e.translations.gdc_verify_account),1)])):h("",!0),l.successMessage?h("",!0):(o(),a("div",_u,[l.isSignup?(o(),a(x,{key:0},[y(i("input",{"onUpdate:modelValue":s[3]||(s[3]=n=>l.user.name=n),type:"text",class:m(["w-full h-[65px] rounded-[5px] shadow border border-[#ECEDEF] placeholder:font-bold text-black placeholder-[#999999] uppercase",{"border-red-500":l.errors.name}]),placeholder:e.translations.gdc_name+"*"},null,10,pu),[[T,l.user.name]]),y(i("input",{"onUpdate:modelValue":s[4]||(s[4]=n=>l.user.nickname=n),type:"text",class:"w-full h-[65px] mt-[10px] rounded-[5px] shadow border border-[#ECEDEF] placeholder:font-bold text-black placeholder-[#999999] uppercase",placeholder:e.translations.gdc_nickname},null,8,bu),[[T,l.user.nickname]])],64)):h("",!0),y(i("input",{"onUpdate:modelValue":s[5]||(s[5]=n=>l.user.email=n),type:"text",class:m(["w-full h-[65px] mt-[10px] rounded-[5px] shadow border border-[#ECEDEF] placeholder:font-bold text-black placeholder-[#999999] uppercase",{"border-red-500":l.errors.email}]),placeholder:e.translations.gdc_email+"*"},null,10,xu),[[T,l.user.email]]),l.isSignup?y((o(),a("input",{key:1,"onUpdate:modelValue":s[6]||(s[6]=n=>l.user.phoneNumber=n),type:"text",class:m(["w-full h-[65px] mt-[10px] rounded-[5px] shadow border border-[#ECEDEF] placeholder:font-bold text-black placeholder-[#999999] uppercase",{"border-red-500":l.errors.phoneNumber}]),placeholder:e.translations.gdc_phone_number+"*"},null,10,wu)),[[T,l.user.phoneNumber]]):h("",!0),y(i("input",{"onUpdate:modelValue":s[7]||(s[7]=n=>l.user.password=n),type:"password",class:m(["w-full h-[65px] mt-[10px] rounded-[5px] shadow border border-[#ECEDEF] placeholder:font-bold text-black placeholder-[#999999] uppercase",{"border-red-500":l.errors.password}]),placeholder:e.translations.gdc_password+"*",autocomplete:"new-password"},null,10,vu),[[T,l.user.password]]),i("div",yu,"*"+c(e.translations.gdc_required),1),i("input",{type:"submit",value:(l.isSignup,e.translations.gdc_submit),class:"font-semibold mt-[20px] uppercase block text-white w-full text-center transition duration-[0.2s] ease-out cursor-pointer h-[50px] rounded-md hover:text-white bg-[#0157FF] hover:bg-[#003ee6] hover:transition hover:duration-[0.1s] hover:ease-in"},null,8,ku),l.isSignup?(o(),a("label",Cu,[y(i("input",{"onUpdate:modelValue":s[8]||(s[8]=n=>l.user.double_opted_in=n),type:"checkbox",class:m(["h-4 w-4 rounded border-[#0157FF] text-[#0157FF] focus:ring-[#0157FF]",{"border-red-500":l.errors.double_opted_in}])},null,2),[[G,l.user.double_opted_in]]),i("div",{class:"text-[14px] font-normal leading-normal ml-3",innerHTML:e.translations.gdc_signup_checkbox_1},null,8,Su)])):h("",!0),l.isSignup?(o(),a("label",Lu,[y(i("input",{"onUpdate:modelValue":s[9]||(s[9]=n=>l.user.double_opted_in_2=n),type:"checkbox",class:m(["h-4 w-4 rounded border-[#0157FF] text-[#0157FF] focus:ring-[#0157FF]",{"border-red-500":l.errors.double_opted_in_2}])},null,2),[[G,l.user.double_opted_in_2]]),i("div",{class:"text-[14px] font-normal leading-normal ml-3",innerHTML:e.translations.gdc_signup_checkbox_2},null,8,Tu)])):h("",!0)])),l.errorMessage?(o(),a("div",Au,c(l.errorMessage),1)):h("",!0)],32))])])])}const Iu=_(nu,[["render",Fu]]),Mu={name:"competition-registration",components:{GdcImg:I},data(){return{isSignup:!0,user:{name:"",email:"",phone:"",double_opted_in:!1,double_opted_in_2:!1,answer:""},successMessage:!1,errorMessage:"",errors:{name:!1,email:!1,phone:!1,answer:!1},showRegisterToCompetitionButton:!1,userId:null,userName:null,supabaseWorkerAPI:null,supabaseWorkerToken:null,currentUserCompetitions:[]}},props:{isBottom:{type:Boolean,required:!1,default:!1},competitionId:{type:Number,required:!1,default:null},competitionName:{type:String,required:!1,default:null},question:{type:Object,required:!1,default:null},ageLimit:{type:Number,required:!1,default:18},redirectTo:{type:String,required:!1,default:"/uk/giveaways"}},async created(){this.supabaseWorkerAPI="https://gdc-customer-io-worker.kaxtest.workers.dev",this.supabaseWorkerToken="uXq2;.xsd-0Zk8nI",window.addEventListener("authstatechange",t=>{t.detail.event==="SIGNED_IN"?(this.competitionId?(this.showRegisterToCompetitionButton=!0,this.userId=t.detail.session.user.id,this.user.name=t.detail.session.user.user_metadata.display_name??t.detail.session.user.user_metadata.name,this.user.email=t.detail.session.user.email):window.location.href="/uk/giveaways",this.fetchCurrentUserCompetitions(t.detail.session.user.id)):t.detail.event==="SIGNED_OUT"&&(this.showRegisterToCompetitionButton=!1,this.userId=null,this.currentUserCompetitions=[])})},mounted(){this.user.answer||(this.user.answer="")},methods:{async competitionSignup(t){let s=null;try{s=await(await fetch(this.supabaseWorkerAPI+"/add-competition",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer "+this.supabaseWorkerToken},body:JSON.stringify({email:t.email,display_name:t.name,phone_number:t.phone??"",country:"gb",current_url:window.location.href,debug:this.competitionName,double_opted_in:t.double_opted_in?"single":"no",[this.competitionName+"_answer"]:t.answer?t.answer:""})})).json(),s.success?console.log("User added successfully",s):console.log("Error: "+s.message)}catch(e){console.log("Exception when adding user: "+e)}return s},validateForm(){return this.errors={name:this.user.name.trim().length<3,email:!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(this.user.email.trim()),phone:!/^(\+44\s?7\d{3}|\(?07\d{3}\)?)\s?\d{3}\s?\d{3}$/.test(this.user.phone.trim()),answer:!this.user.answer,double_opted_in:!this.user.double_opted_in,double_opted_in_2:!this.user.double_opted_in_2},this.errors.name?(this.errorMessage="Name must be at least 3 characters.",!1):this.errors.email?(this.errorMessage="Invalid email address format (example of a valid format @gmail.com / @hotmail.co.uk)",!1):this.errors.phone?(this.errorMessage="Invalid phone number format (example of a valid format +447497878383)",!1):this.question&&!this.user.answer?(this.errorMessage="Please select an answer",!1):this.user.double_opted_in?this.user.double_opted_in_2?(this.errorMessage="",!0):(this.errorMessage="Please check the required box",!1):(this.errorMessage="Please check the required box",!1)},lockScroll(){document.body.style.overflow="hidden"},unlockScroll(){document.body.style.overflow=""},handleModalClose(){this.successMessage=!1,this.unlockScroll(),window.location.href=this.redirectTo},async handleSubmit(){if(this.validateForm()){this.$refs.competitionForm.dispatchEvent(new Event("submit"));try{const t=await this.competitionSignup(this.user);if(!t.success){this.errorMessage=t.error.message;return}this.successMessage=!0,this.lockScroll();const s={email:this.user.email,name:this.user.name,phone:this.user.phone};ktag.pushHashedData(s,"competition entry"),this.user={name:"",email:"",phone:"",double_opted_in:!1,answer:""},console.log("result",t)}catch(t){console.error(this.isSignup?"Registration error:":"Login error:",t),this.errorMessage=`An error occurred during ${this.isSignup?"registration":"login"}. Please try again.`}}},async handleLoggedInCompetitionRegistration(){if(!this.user.double_opted_in){this.errorMessage="Please check the required box to proceed with your entry";return}const t=await this.competitionSignup(this.user);if(!t.success){this.errorMessage=t.error.message;return}this.errorMessage="",this.successMessage=!0,this.lockScroll();const s={email:this.user.email,name:this.user.name,phone:this.user.phone};ktag.pushHashedData(s,"competition entry"),await fetch("https://gdc-production-api-worker.kaxtest.workers.dev/competitions/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({user_id:this.userId,competition_id:this.competitionId})}).then(e=>window.location.href=this.redirectTo)},handleModalClose(){this.successMessage=!1,window.location.href=this.redirectTo},fetchCurrentUserCompetitions(t){fetch(`https://gdc-production-api-worker.kaxtest.workers.dev/competitions/user?user_id=${t}`).then(s=>s.json()).then(s=>{this.currentUserCompetitions=s.data})}},computed:{isUserAlreadyRegistered(){return this.currentUserCompetitions.some(t=>t.competition_genesis_id===this.competitionId)}}},Gu={class:"mb-5"},Bu={class:"bg-white p-8 rounded-lg text-center max-w-md relative"},Du={class:"w-full xl:w-[510px]",id:"login-component"},Eu={key:0},Pu={class:"leading-[16px]"},Ou={class:"leading-[16px]"},ju={key:1,class:"flex items-center mt-2 cursor-pointer"},Ru={key:2,class:"errorMessage mt-2 rounded-[20px] bg-[#e50000] text-white text-base font-semibold py-[15px] px-[30px]"},Nu={key:1,ref:"competitionForm",class:"competitionForm competition_entry gtm-form"},zu={key:0,class:"formFields"},qu={value:"",class:"whitespace-normal"},Vu=["value"],$u={class:"flex items-center mt-2 cursor-pointer"},Uu={class:"flex items-center mt-2 cursor-pointer mt-3"},Hu={key:1,class:"errorMessage mt-2 rounded-[20px] bg-[#e50000] text-white text-base font-semibold py-[15px] px-[30px]"};function Wu(t,s,e,u,l,r){return o(),a("div",Gu,[l.successMessage?(o(),a("div",{key:0,class:"fixed inset-0 bg-black bg-opacity-80 flex items-center justify-center z-50",onClick:s[1]||(s[1]=B((...n)=>r.handleModalClose&&r.handleModalClose(...n),["self"]))},[i("div",Bu,[i("button",{onClick:s[0]||(s[0]=(...n)=>r.handleModalClose&&r.handleModalClose(...n)),class:"absolute top-4 right-4"},s[11]||(s[11]=[i("img",{src:"https://objects.kaxmedia.com/auto/o/139743/7c923179ab.svg",alt:"Close",class:"w-[20px] h-[20px]"},null,-1)])),s[12]||(s[12]=i("h2",{class:"text-[26px] font-bold mb-4"},"You're In",-1)),s[13]||(s[13]=i("p",{class:"mb-6 text-[16px]"},"You're now in with a chance to win.",-1))])])):h("",!0),i("div",Du,[l.showRegisterToCompetitionButton?(o(),a("div",Eu,[i("div",{class:m(["text-center mt-3",{"text-white":e.isBottom}])},[i("p",Pu,"Hey "+c(l.user.name)+",",1),i("p",Ou,c(r.isUserAlreadyRegistered?"You are already registered.":"Click below to be in with a chance to win."),1),s[14]||(s[14]=i("p",{class:"leading-[16px]"},"Best of luck!",-1))],2),r.isUserAlreadyRegistered?h("",!0):(o(),a("button",{key:0,onClick:s[2]||(s[2]=(...n)=>r.handleLoggedInCompetitionRegistration&&r.handleLoggedInCompetitionRegistration(...n)),class:"font-semibold uppercase block text-white w-full text-center transition duration-[0.2s] ease-out cursor-pointer h-[50px] rounded-md hover:text-white bg-[#0157FF] hover:bg-[#003ee6] hover:transition hover:duration-[0.1s] hover:ease-in"}," ENTER COMPETITION ")),r.isUserAlreadyRegistered?h("",!0):(o(),a("label",ju,[y(i("input",{"onUpdate:modelValue":s[3]||(s[3]=n=>l.user.double_opted_in=n),type:"checkbox",class:"h-4 w-4 rounded border-[#0157FF] text-[#0157FF] focus:ring-[#0157FF] bg-transparent"},null,512),[[G,l.user.double_opted_in]]),i("div",{class:m([{"text-white":e.isBottom},"text-[14px] font-normal leading-normal ml-3"])},"By opting in I confirm I am "+c(e.ageLimit)+"+ and would like to hear about the latest winners, exclusive offers & free giveaways via email, SMS and phone from Gambling.com Group by entering our giveaway.",3)])),l.errorMessage?(o(),a("div",Ru,c(l.errorMessage),1)):h("",!0)])):(o(),a("form",Nu,[l.successMessage?h("",!0):(o(),a("div",zu,[l.isSignup?y((o(),a("input",{key:0,"onUpdate:modelValue":s[4]||(s[4]=n=>l.user.name=n),name:"name",type:"text",class:m(["w-full h-[65px] rounded-[5px] shadow border border-[#ECEDEF] font-bold placeholder:font-bold text-[#999999] placeholder-[#999999] text-[14px] p-[16px]",{"border-red-500":l.errors.name}]),placeholder:"FULL NAME*"},null,2)),[[T,l.user.name]]):h("",!0),y(i("input",{"onUpdate:modelValue":s[5]||(s[5]=n=>l.user.email=n),name:"email",type:"text",class:m(["w-full h-[65px] mt-[10px] rounded-[5px] shadow border border-[#ECEDEF] font-bold placeholder:font-bold text-[#999999] placeholder-[#999999] text-[14px] p-[16px]",{"border-red-500":l.errors.email}]),placeholder:"EMAIL ADDRESS*"},null,2),[[T,l.user.email]]),l.isSignup?y((o(),a("input",{key:1,"onUpdate:modelValue":s[6]||(s[6]=n=>l.user.phone=n),name:"phone",type:"text",class:m(["w-full h-[65px] mt-[10px] rounded-[5px] shadow border border-[#ECEDEF] font-bold placeholder:font-bold text-[#999999] placeholder-gdc-gray-450 text-[14px] p-[16px]",{"border-red-500":l.errors.phone}]),placeholder:"PHONE NUMBER*"},null,2)),[[T,l.user.phone]]):h("",!0),e.question?y((o(),a("select",{key:2,name:"answer","onUpdate:modelValue":s[7]||(s[7]=n=>l.user.answer=n),class:m(["w-full h-auto min-h-[65px] mt-[10px] rounded-[5px] shadow border border-[#ECEDEF] font-bold placeholder:font-bold text-[#999999] placeholder-[#999999] whitespace-normal uppercase text-[14px] p-[16px]",{"border-red-500":l.errors.answer}])},[i("option",qu,c(e.question.question),1),(o(!0),a(x,null,w(e.question.answers,n=>(o(),a("option",{value:n.answer,class:"whitespace-normal"},c(n.answer),9,Vu))),256))],2)),[[se,l.user.answer]]):h("",!0),s[15]||(s[15]=i("div",{class:"text-[15px] font-bold text-[#999999] mt-4"},"*REQUIRED",-1)),i("button",{onClick:s[8]||(s[8]=B((...n)=>r.handleSubmit&&r.handleSubmit(...n),["prevent"])),class:"submit-button font-semibold mt-[20px] uppercase block text-white w-full text-center transition duration-[0.2s] ease-out cursor-pointer h-[50px] rounded-md hover:text-white bg-[#0157FF] hover:bg-[#003ee6] hover:transition hover:duration-[0.1s] hover:ease-in"}," SUBMIT "),i("label",$u,[y(i("input",{"onUpdate:modelValue":s[9]||(s[9]=n=>l.user.double_opted_in=n),type:"checkbox",class:m(["h-4 w-4 rounded border-[#0157FF] text-[#0157FF] focus:ring-[#0157FF] bg-transparent",{"border-red-500":l.errors.double_opted_in}])},null,2),[[G,l.user.double_opted_in]]),i("div",{class:m([{"text-white":e.isBottom},"text-[14px] font-normal leading-normal ml-3"])},"By opting in I confirm I am "+c(e.ageLimit)+"+",3)]),i("label",Uu,[y(i("input",{type:"checkbox","onUpdate:modelValue":s[10]||(s[10]=n=>l.user.double_opted_in_2=n),class:m(["h-4 w-4 rounded border-[#0157FF] text-[#0157FF] focus:ring-[#0157FF] bg-transparent",{"border-red-500":l.errors.double_opted_in_2}])},null,2),[[G,l.user.double_opted_in_2]]),i("div",{class:m([{"text-white":e.isBottom},"text-[14px] font-normal leading-normal ml-3"])},"I would like to hear about the latest winners, exclusive offers & free giveaways via email, SMS and phone from Gambling.com Group by entering our giveaway.",2)])])),l.errorMessage?(o(),a("div",Hu,c(l.errorMessage),1)):h("",!0)],512))])])}const Ju=_(Mu,[["render",Wu]]);window.createApp=O;const Zu=O({});Zu.use(ie);window.NewsletterModal=oe;window.SocialPageModal=de;window.SubscriptionForm=le;window.SubscriptionFormNl=re;window.Selector=ae;window.ShowMoreShowLessButton=he;window.OperatorListTab=me;document.getElementsByClassName("global-search-container navigation").length>0&&O({components:{"global-search-tw":$}}).mount(".global-search-container.navigation");document.getElementsByClassName("global-search-container home-banner").length>0&&O({components:{"global-search-tw":$}}).mount(".global-search-container.home-banner");window.PopupOffer=ce;window.SingleOffer=gt;window.LoadingSpinner=wt;window.StateExitLinkButton=Ct;window.PaymentMethodsTable=Ht;window.ArticlesGlobal=ri;window.AgeChecker=U;window.AuthorList=Mo;window.AuthorBioCard=J;window.AuthorsNextSmartCareerMove=Z;window.ContentBoxes=Vo;window.SiteBrandProductReviewsBoxes=tl;window.SiteArticleStrategyList=Or;window.TrustSignalGroups=Ur;window.ComparisonTool=ge;window.SlotComparisonTool=Qa;window.SlotGamesCarousel=rn;window.SlotGamesList=Ic;window.OperatorAvailabilityBanner=jc;window.PaymentMethodsIcon=$c;window.FakeCheckboxComponent=ne;window.Competitions=be;window.CompetitionItem=xe;window.CompetitionWinners=au;window.Login=Iu;window.CompetitionRegistration=Ju;window.AdtechPersonalisedBanner=ue;